Bump actions/deploy-pages from 2 to 3 #223
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
workflow_dispatch: | |
workflow_run: | |
workflows: [Scrape] | |
types: [completed] | |
branches: [main] | |
jobs: | |
ci: | |
name: CI | |
uses: ./.github/workflows/ci.yml | |
build: | |
name: Build and publish to GitHub Pages | |
permissions: | |
id-token: write | |
pages: write | |
needs: ci | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: npm | |
- run: npm ci | |
- run: npm run build | |
- uses: actions/upload-pages-artifact@v2 | |
- uses: actions/deploy-pages@v3 |