Skip to content

refactor fetch and build scripts #10

refactor fetch and build scripts

refactor fetch and build scripts #10

Workflow file for this run

name: GitHub Pages
on:
workflow_dispatch:
push:
workflow_run:
workflows: [Fetch Images]
types:
- completed
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- name: Build
run: bash build.sh
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public
cname: samplecontent.automad.org