yet another attempt at fixing github action. Added some comments too.

This commit is contained in:
Kim, Jimin 2021-05-17 16:32:48 +09:00
parent 829031fdc6
commit 2b3414c379

View file

@ -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