yet another attempt at fixing github action. Added some comments too.
This commit is contained in:
parent
829031fdc6
commit
2b3414c379
1 changed files with 3 additions and 2 deletions
5
.github/workflows/firebase-hosting-merge.yml
vendored
5
.github/workflows/firebase-hosting-merge.yml
vendored
|
@ -11,11 +11,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: cd source && yarn install && yarn build
|
- run: cd source # move into source directory
|
||||||
|
- run: yarn install && yarn build # install dependencies and build site
|
||||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||||
with:
|
with:
|
||||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_DEVELOPOMP_SITE }}"
|
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_DEVELOPOMP_SITE }}"
|
||||||
channelId: live
|
channelId: live
|
||||||
projectId: developomp-site
|
projectId: developomp-site-dev
|
||||||
target: dev
|
target: dev
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue