Skip to content

馃攣 Bump the github-actions-dependencies Group (#338) #696

馃攣 Bump the github-actions-dependencies Group (#338)

馃攣 Bump the github-actions-dependencies Group (#338) #696

Workflow file for this run

name: 馃殌 UI deployment
on:
push:
branches: ["main"]
workflow_dispatch:
# Allows only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, we do not cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
permissions: {}
jobs:
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
permissions:
contents: read
strategy:
matrix:
os:
- ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
with:
cache: false
run_install: |
- args: [--prefer-offline, --frozen-lockfile]
- name: Build with Next.js
run: pnpm build:interface
- name: Upload artifacts
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: "interface/dist"
deploy:
needs: build
runs-on: ${{ matrix.os }}
timeout-minutes: 10
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
strategy:
matrix:
os:
- ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1