Skip to content

Commit

Permalink
ci: docs deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewWid committed Oct 27, 2024
1 parent 05a96dc commit 5dac9ee
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy docs to GitHub Pages
on:
push:
branches: [docs-site]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: withastro/action@v3
with:
path: ./docs
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"astro": "^4.16.7",
"sharp": "^0.32.6",
"typescript": "^5.6.3"
}
},
"packageManager": "[email protected]"
}

0 comments on commit 5dac9ee

Please sign in to comment.