Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

content-fix

content-fix #61

Workflow file for this run

name: fastn build to update vh_pages branch
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
fastn-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install fastn
run: source <(curl -fsSL https://fastn.com/install.sh)
- name: Build pages with fastn
run: fastn build --offline
- name: Deploy to vh_page branch
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.build
publish_branch: vh_page
force_orphan: false
full_commit_message: ${{ github.event.pull_request.head.sha }}