concept-collection / timeseries-compressibility
timeseries-compressibility / .github / workflows / deploy.yml
35 lines · 751 BBlameHistoryRaw
1name: deploy
2on:
3 push:
4 branches: [main]
5 workflow_dispatch:
7permissions:
8 contents: read
9 pages: write
10 id-token: write
12concurrency:
13 group: pages
14 cancel-in-progress: true
16jobs:
17 build-deploy:
18 runs-on: ubuntu-latest
19 environment:
20 name: github-pages
21 url: ${{ steps.deployment.outputs.page_url }}
22 steps:
23 - uses: actions/checkout@v4
24 - uses: actions/setup-node@v4
25 with:
26 node-version: 24
27 cache: npm
28 - run: npm ci
29 - run: npm run build # tsc -b first, so this is the typecheck too
30 - uses: actions/configure-pages@v5
31 - uses: actions/upload-pages-artifact@v3
32 with:
33 path: dist
34 - id: deployment
35 uses: actions/deploy-pages@v4