Files
doc-status/.github/workflows/ci.yml
dependabot[bot] debdffe2f7 Bump actions/checkout from 4 to 5 (#32)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 02:59:47 +02:00

41 lines
1.4 KiB
YAML

name: Continuous integration
on:
push:
pull_request:
workflow_dispatch:
schedule:
# Every day at midnight (UTC).
# This keeps the class reference status page fresh.
- cron: '0 0 * * *'
jobs:
deploy:
name: Build and deploy to GitHub Pages
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Generate class reference table and build website
env:
HUGO_VERSION: '0.101.0'
run: |
curl -LO "https://github.com/gohugoio/hugo/releases/download/v$HUGO_VERSION/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz"
tar xf "hugo_${HUGO_VERSION}_Linux-64bit.tar.gz" hugo
sudo mv hugo /usr/local/bin/
./build.sh
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@releases/v4
# Only deploy from the `master` branch, and never deploy from pull requests.
if: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master' }}
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The branch the action should deploy to.
BRANCH: gh-pages
# The folder the action should deploy.
FOLDER: public
# Artifacts are large, don't keep the branch's history
SINGLE_COMMIT: true