Skip to content

Commit

Permalink
Add deploy-docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
Syriiin committed May 8, 2024
1 parent a7f62cf commit ae815e0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: deploy-docs
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: make build-docs
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: docs
path: docs/site/

deploy:
needs: build

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-22.04
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
artifact_name: docs

0 comments on commit ae815e0

Please sign in to comment.