Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/deploy-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
# Allows you to run this workflow manually
workflow_dispatch:

permissions:
contents: read # for actions/checkout to read the repository

Comment thread
artembelik marked this conversation as resolved.
jobs:
deploy_next:
if: ${{ github.repository_owner == 'koobiq' }}
Expand All @@ -17,4 +20,9 @@ jobs:
fetch-depth: 0
- uses: ./.github/actions/setup-node
- run: yarn run build
- run: yarn firebase deploy --only hosting:next --token=${{ secrets.FIREBASE_DEPLOY_TOKEN }}
- uses: FirebaseExtended/action-hosting-deploy@v0.11.0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KOOBIQ }}
target: next
channelId: live # reserved channel ID for the live/production site (not a temporary preview channel)
1 change: 0 additions & 1 deletion .github/workflows/redeploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KOOBIQ }}'
expires: 3d
channelId: data-grid-pr-${{ github.event.issue.number }}
projectId: koobiq
target: next
- uses: thollander/actions-comment-pull-request@v3
if: ${{ failure() }}
Expand Down