Skip to content

v1.0.3

v1.0.3 #44

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
tags:
- "*"
release:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dprint/check@v2.2
build:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
needs: style
steps:
- uses: actions/checkout@v4
- name: Install & Build Website
uses: withastro/action@v2
with:
path: .
package-manager: bun@latest
deploy:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'release' && github.event.action == 'published'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4