Skip to content

Dt 7256 ignored razor expressions environment variable only works fro… #3

Dt 7256 ignored razor expressions environment variable only works fro…

Dt 7256 ignored razor expressions environment variable only works fro… #3

Workflow file for this run

name: Deploy documentation site
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Setup Hugo
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3
with:
hugo-version: "0.135.0"
extended: true
- name: Build Documentation
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make doc-generate
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs/public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4