Skip to content

...

... #19

Workflow file for this run

name: website
on:
push:
branches: [ main ]
permissions:
contents: write
packages: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
- name: NodeJS build
run: |
npm install
npm run build
echo 'reference.pocketpy.dev' > public/CNAME
- uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}