Skip to content

Commit

Permalink
fix: deploy cant be on another job
Browse files Browse the repository at this point in the history
  • Loading branch information
sensasi-delight committed Oct 21, 2023
1 parent 16874d9 commit 4dcb2c8
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/deploy_firebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Deploy to Firebase Hosting on push
- main
jobs:
# Build job
build:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -84,14 +84,10 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
path: ./_ssg/out

deploy:
runs-on: ubuntu-latest
needs: build
steps:
- uses: FirebaseExtended/action-hosting-deploy@v0
- name: Deploy to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KAMUS_WEBDEV }}'
channelId: live
projectId: kamus-webdev
projectId: kamus-webdev

0 comments on commit 4dcb2c8

Please sign in to comment.