Skip to content

Publish GitHub Pages #6

Publish GitHub Pages

Publish GitHub Pages #6

Workflow file for this run

name: Publish GitHub Pages
on:
workflow_dispatch:
branches:
- master
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Read version
id: version
uses: juliangruber/read-file-action@v1
with:
path: ./VERSION
trim: true
- name: Build package
run: make multi
- name: Make Packages
run: make VERSION=${{ steps.version.outputs.content }} repository
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out/_pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4