Skip to content

Commit

Permalink
deploy: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kberridge committed Jan 25, 2024
1 parent b2ead06 commit 4fd8d37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup node
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Authenticate to Google Cloud
# After calling google's auth `firebase deploy` will use this auth
- name: Authenticate to Google Cloud/Firebase
uses: google-github-actions/auth@v0.4.0
with:
with:
# This is the service account secret stored in github secrets (setup by `firebase init hosting:github`)
credentials_json: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KWBLOG_1C958 }}'
- name: Deploy
shell: pwsh
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ It is hosted in [Google Firebase](https://firebase.google.com).

- `npx firebase logout; npx firebase login;` might be needed if it's been a long time, even if firebase says it is already logged in.
- to test with firebase before deploy: `npx firebase serve --only hosting`
- to build the static site: `npm run build`
- then to deploy: `npx firebase deploy`
- to build the static site: `.\build`
- to deploy: `.\build deploy`

0 comments on commit 4fd8d37

Please sign in to comment.