Skip to content

ci: Upgrade actions/upload-artifact and actions/download-artifact to … #24

ci: Upgrade actions/upload-artifact and actions/download-artifact to …

ci: Upgrade actions/upload-artifact and actions/download-artifact to … #24

Workflow file for this run

name: Deploy docs
on:
push:
branches: ["master"]
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy-docs:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 22
- run: yarn install --immutable
- name: Generate docs
run: yarn run docs
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4