Skip to content

TinaCMS content update #24

TinaCMS content update

TinaCMS content update #24

Workflow file for this run

name: Publish GitHub Pages
on:
push:
branches:
- main
jobs:
publish-gpr:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.18.0]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
- name: Install dependencies 📦️
run: yarn install
- name: build
run: |
yarn build
- name: deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: pages
- name: delete local gh-pages branch
run: |
git branch -d gh-pages
git clean -xdf
- name: create 404.html
uses: planetoftheweb/copy-to-branches@v1.2
env:
branches: gh-pages
key: main
files: 404.html