Skip to content

github pages

github pages #1160

Workflow file for this run

name: github pages
on:
workflow_dispatch:
schedule:
- cron: '10 * * 10 *'
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm ci
- run: npm run build
env:
TOKEN: ${{secrets.TOKEN}}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: hacktoberfest.allegro.tech