Skip to content

Commit

Permalink
Update site.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehinds authored Dec 28, 2024
1 parent 89fa8ee commit e1a7937
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions .github/workflows/site.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1 @@
name: Deploy Site
on:
workflow_dispatch: {}
push:
branches:
- main
paths:
- "site/**"
- ".github/**"
- "VERSION"
- "reference.yaml"
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
cache-dependency-path: site/package-lock.json
- run: npm ci
working-directory: site/
- run: make site-build
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: site/.vitepress/dist
- id: deployment
uses: actions/deploy-pages@v1

0 comments on commit e1a7937

Please sign in to comment.