Skip to content

migrate task 104 to lib-task #36

migrate task 104 to lib-task

migrate task 104 to lib-task #36

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
paths:
- 'src/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: npm ci
- run: npm run build -- --env version=$(git describe --always)
- uses: actions/upload-pages-artifact@v3
with:
path: dist/
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url}}
steps:
- id: deployment
uses: actions/deploy-pages@v4