Browse Source

Set working directory for actions

Frontend-Kenny-GitHubActions
Kenneth Bruen 3 years ago
parent
commit
2c28d5eb5c
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 5
      .github/workflows/firebase-hosting-merge.yml
  2. 5
      .github/workflows/firebase-hosting-pull-request.yml

5
.github/workflows/firebase-hosting-merge.yml

@ -12,9 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm run build
- name: Build Svelte app
working-directory: ./client
run: npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
entryPoint: ./client
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_FOXBANK_69 }}'
channelId: live

5
.github/workflows/firebase-hosting-pull-request.yml

@ -9,9 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm run build
- name: Build Svelte app
working-directory: ./client
run: npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
entryPoint: ./client
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_FOXBANK_69 }}'
projectId: foxbank-69

Loading…
Cancel
Save