Skip to content

Commit

Permalink
Merge pull request #6 from mikedownesdev/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
mikedownesdev authored Oct 20, 2023
2 parents 6d1cb7e + 191a168 commit f2bf248
Show file tree
Hide file tree
Showing 52 changed files with 1,354 additions and 1,279 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prod-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
id: set-script-id
run: jq '.scriptId = "${{env.PROD_SCRIPT_ID}}"' .clasp.json > /tmp/.clasp.json && mv /tmp/.clasp.json .clasp.json
env:
TEST_SCRIPT_ID: ${{secrets.PROD_SCRIPT_ID}}
PROD_SCRIPT_ID: ${{secrets.PROD_SCRIPT_ID}}

## Build & push

Expand All @@ -68,7 +68,7 @@ jobs:

- name: Deploy Script
id: clasp-deploy
if: github.ref == 'refs/heads/test'
if: github.ref == 'refs/heads/main'
run: clasp deploy -i "${{ secrets.PROD_DEPLOYMENT_ID }}" -d ${{github.run_number}}
env:
TEST_SCRIPT_ID: ${{ secrets.PROD_SCRIPT_ID }}
PROD_SCRIPT_ID: ${{ secrets.PROD_SCRIPT_ID }}
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

6 changes: 0 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,5 @@
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
<script type="module">
import { navigate } from "svelte-routing";
// This is necessary to load the homepage when the app is deployed to Google Apps Script
console.log('navigating to home')
navigate('/', { replace: true })
</script>
</body>
</html>
Loading

0 comments on commit f2bf248

Please sign in to comment.