Skip to content

sync fork action

sync fork action #13

Workflow file for this run

name: pages
on:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: ${{github.repository}}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: pages
uses: actions/configure-pages@v5
- run: sudo n auto
- run: corepack enable
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: ls -alh dist
- uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4
keep-alive:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v1