Skip to content

edit: grug brain developer #244

edit: grug brain developer

edit: grug brain developer #244

Workflow file for this run

name: Publish
on: push
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run build
- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'