mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 00:36:56 +02:00
try site
This commit is contained in:
parent
cc46a6f2f0
commit
efd6a6ebe5
1 changed files with 27 additions and 0 deletions
27
.github/workflows/site.yaml
vendored
Normal file
27
.github/workflows/site.yaml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Deploy Site
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
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@v3
|
||||
- uses: mymindstorm/setup-emsdk@v12
|
||||
with:
|
||||
version: "latest"
|
||||
- run: make site
|
||||
- uses: actions/configure-pages@v2
|
||||
- uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
path: dist/.site
|
||||
- id: deployment
|
||||
uses: actions/deploy-pages@v1
|
||||
Loading…
Add table
Add a link
Reference in a new issue