Skip to content

Gonna lose it...

Gonna lose it... #16

Workflow file for this run

name: github pages
permissions:
contents: read
pages: write
id-token: write
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install gettext
run: |
sudo apt update
sudo apt install gettext
- name: Install mdbook
uses: taiki-e/cache-cargo-install-action@v2
with:
tool: mdbook
- name: Install mdbook-i18n-helpers
uses: taiki-e/cache-cargo-install-action@v2
with:
tool: mdbook-i18n-helpers
- name: Build the book
run: sh scripts/full-build.sh
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: book
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4