Skip to content

docs: publish Hex 2.1.25 downloads #22

docs: publish Hex 2.1.25 downloads

docs: publish Hex 2.1.25 downloads #22

Workflow file for this run

name: Deploy site
on:
push:
branches: [main]
paths:
- "site/**"
- ".github/workflows/site.yml"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: site
steps:
- uses: actions/checkout@v7
- uses: oven-sh/setup-bun@v2
- run: bun install --frozen-lockfile
- run: bun run build
- uses: actions/configure-pages@v6
- uses: actions/upload-pages-artifact@v5
with:
path: site/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v5