Skip to content

Bump actions/deploy-pages from 3 to 4 (#7) #13

Bump actions/deploy-pages from 3 to 4 (#7)

Bump actions/deploy-pages from 3 to 4 (#7) #13

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download mdbook
run: make install_mdbook
- name: Build mdbook project
run: make build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./book
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4