Skip to content

Commit

Permalink
use prod primer workflow for main deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
rezrah committed Apr 20, 2022
1 parent 1602869 commit 8352d8d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ on:
- 'package.json'

permissions:
contents: read
contents: write
pages: write
id-token: write
deployments: write
issues: write
statuses: write
checks: write

jobs:
guard:
Expand All @@ -39,7 +43,7 @@ jobs:
if: ${{ github.repository == 'primer/css' }}
name: Production
needs: [guard]
uses: primer/.github/.github/workflows/deploy_preview.yml@main
uses: primer/.github/.github/workflows/deploy.yml@main
with:
node_version: 14
install: yarn
Expand Down

0 comments on commit 8352d8d

Please sign in to comment.