mirror of
https://github.com/anomalyco/opentui.git
synced 2026-09-19 01:26:03 +08:00
4c9a82793b
Co-authored-by: Simon Klee <hello@simonklee.dk>
36 lines
768 B
YAML
36 lines
768 B
YAML
name: Deploy to GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: blacksmith-8vcpu-ubuntu-2404
|
|
steps:
|
|
- name: Checkout your repository using git
|
|
uses: actions/checkout@v6
|
|
- name: Install, build, and upload your site
|
|
uses: withastro/action@v6
|
|
with:
|
|
path: ./packages/web
|
|
package-manager: bun@1.3.14
|
|
node-version: 22
|
|
|
|
deploy:
|
|
needs: build
|
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
steps:
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v5
|