Skip to content

Changes

Changes #10

Workflow file for this run

name: Devblog deployment
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Zola
uses: taiki-e/install-action@v2
with:
tool: [email protected]
- name: Run Zola
run: zola --config config.prod.toml build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'public/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4