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
4 changes: 2 additions & 2 deletions .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ permissions:
jobs:
deploy:
if: ${{ github.repository == 'primer/css' }}
uses: primer/.github/.github/workflows/deploy_preview.yml@main
uses: primer/.github/.github/workflows/deploy_preview.yml@v1.0.0
name: Deploy preview
secrets:
gh_token: ${{ secrets.GITHUB_TOKEN }}
with:
node_version: 18
node_version: 20
install: npm ci && cd docs && npm ci && cd ..
build: npm run build:docs:preview
output_dir: docs/public
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ jobs:
if: ${{ github.repository == 'primer/css' }}
name: Production
needs: [guard]
uses: primer/.github/.github/workflows/deploy.yml@main
uses: primer/.github/.github/workflows/deploy.yml@v1.0.0
secrets:
gh_token: ${{ secrets.GITHUB_TOKEN }}
with:
node_version: 18
node_version: 20
install: npm ci && cd docs && npm ci && cd ..
build: npm run build:docs
output_dir: docs/public