Skip to content

v1.4.17

v1.4.17 #40

Workflow file for this run

name: main
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: setup pages
uses: actions/configure-pages@v4
with:
static_site_generator: next
- name: npm install
run: npm install
- name: npm build
run: npm run build
- name: upload artifacts
uses: actions/upload-pages-artifact@v3
with:
path: ./out
deploy:
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: [build]
steps:
- name: redeploy
id: deployment
uses: actions/deploy-pages@v4