Skip to content

Commit

Permalink
fix: actually deploy the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Apr 29, 2024
1 parent 80406ed commit 4bbc4a3
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ on:
- "**.exs"
- "**.md"
- ".github/workflows/docs.yml"
branches:
- main

permissions:
contents: read
pages: write
id-token: write

jobs:
docs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -23,3 +30,18 @@ jobs:
- uses: actions/upload-pages-artifact@v3
with:
path: ./doc
- uses: actions/deploy-pages@v4

deploy:
concurrency:
group: "pages"
cancel-in-progress: true
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 4bbc4a3

Please sign in to comment.