Skip to content

Merge branch 'master' of https://github.com/zkSNACKs/zkSNACKsSite #38

Merge branch 'master' of https://github.com/zkSNACKs/zkSNACKsSite

Merge branch 'master' of https://github.com/zkSNACKs/zkSNACKsSite #38

Workflow file for this run

on:
push:
branches:
- master
name: πŸš€ Deploy to GitHub Pages
jobs:
deploy:
name: πŸŽ‰ Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
- name: πŸ”¨ Install dependencies and build project
run: |
npm install
npm run build
- name: πŸ“‚ Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build