We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e7ada7 commit 0bd2b83Copy full SHA for 0bd2b83
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,30 @@
1
+name: Deploy Google Apps Script
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 18
20
21
+ - name: Install clasp
22
+ run: npm install -g @google/clasp
23
24
+ - name: Configure Google credentials
25
+ run: |
26
+ mkdir -p ~/.clasprc/
27
+ echo '${{ secrets.CLASP_RC }}' > ~/.clasprc.json
28
29
+ - name: Push code to Google Apps Script
30
+ run: clasp push
0 commit comments