ci: update

This commit is contained in:
Folke Lemaitre 2024-07-05 16:00:54 +02:00
parent a1d23e80ba
commit 53661bb38c
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
10 changed files with 105 additions and 105 deletions

20
.github/workflows/docs.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Docs
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' && github.repository_owner == 'folke' }}
needs: tests
env:
GH_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
with:
ref: docs
- name: Generate Docs
shell: bash
run: gh workflow run "Deploy to Github Pages" --ref docs