Skip to content

Update surge links for NIGHTLY-2024-10-06-54e78fb from github action #355

Update surge links for NIGHTLY-2024-10-06-54e78fb from github action

Update surge links for NIGHTLY-2024-10-06-54e78fb from github action #355

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
push:
branches: [master]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
env:
BUILD_PATH: "."
jobs:
Build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: latest
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "*"
check-latest: true
cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml
- name: Configure GitHub Pages
id: pages
uses: actions/configure-pages@v4
- name: Install node_modules
run: |
pnpm install --frozen-lockfile
- name: Astro build
run: |
pnpm build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ${{ env.BUILD_PATH }}/dist
Deploy:
name: Deploy
runs-on: ubuntu-latest
needs: Build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4