nodejs-hands-on/.github/workflows/github-pages.yml
renovate[bot] 13e6854606
Update alpine Docker digest to 1e42bbe (#8)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-03 10:07:00 +09:00

22 lines
656 B
YAML

name: github-pages
on:
push:
branches: [main]
jobs:
main:
permissions:
pages: write
id-token: write
environment: github-pages
runs-on: ubuntu-latest
container: alpine@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Build
run: |
apk add mdbook tar
mdbook build
- uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
with:
path: book
- uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4