Skip to content

fix(test): ensure that binary is built before the test runs (#11) #67

fix(test): ensure that binary is built before the test runs (#11)

fix(test): ensure that binary is built before the test runs (#11) #67

Workflow file for this run

name: Website
on:
push:
branches:
- main
tags:
- "v*.*.*"
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
links:
name: Links
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run lychee
uses: lycheeverse/lychee-action@v1
with:
args: -v website/src/content/docs/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install, build, and upload
uses: withastro/action@v3
with:
path: ./website
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4