Skip to content

github pages

github pages #2745

Workflow file for this run

name: github pages
on:
workflow_dispatch:
schedule:
- cron: '10 * * 10 *'
push:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- run: npm ci
- run: npm run build
env:
TOKEN: ${{secrets.TOKEN}}
- uses: actions/upload-pages-artifact@v3
with:
path: './dist'
- id: deployment
uses: actions/deploy-pages@v4