Add batch export speaker notes feature with JSON download #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to Google Apps Script | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "src/**" | |
| - "appsscript.json" | |
| - ".clasp.json" | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install clasp | |
| run: npm install -g @google/clasp | |
| - name: Create clasprc.json | |
| run: | | |
| echo '${{ secrets.CLASPRC_JSON }}' > ~/.clasprc.json | |
| - name: Create clasp.json | |
| run: | | |
| echo '${{ secrets.CLASP_JSON }}' > .clasp.json | |
| - name: Create appsscript.json | |
| run: cp appsscript.example.json appsscript.json | |
| - name: Push to Google Apps Script | |
| run: clasp push --force |