Skip to content

revert branches syntax to [ main ] (one line) #2

revert branches syntax to [ main ] (one line)

revert branches syntax to [ main ] (one line) #2

Workflow file for this run

name: Build and Deploy to GitHub Pages
on:
push:
branches: [ main ]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Collate Templates & Package for Deployment
run: |
./collate.sh
mkdir -p latest
mv templates.json latest/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./latest