Skip to content

Commit 4075bf4

Browse files
authored
Update deployment.yml
1 parent b2aa87e commit 4075bf4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deployment.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ jobs:
1212
- name: Checkout Repository
1313
uses: actions/checkout@v2
1414

15-
- name: Replace App Script ID in script.js
15+
- name: Create app-script-url.js
1616
run: |
17-
APP_SCRIPT="${{ secrets.APP_SCRIPT }}"
18-
sed -i "s|AKfycby9S-NaNoeaITbVzXAmRm0bxUhbHhTNChxIaRaImckoZJyotr0N7iOZUoJHRnMGEl1GXQ|$APP_SCRIPT|g" resources/script.js
17+
echo "const APP_SCRIPT_URL = 'https://script.google.com/macros/s/${{ secrets.APP_SCRIPT }}/exec';" > resources/app-script-url.js
1918
2019
- name: Deploy to GitHub Pages
2120
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)