Skip to content

Commit

Permalink
fix: CD pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jfaldanam authored Jun 19, 2024
1 parent 3312d0c commit 79d4e80
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ on:
jobs:
generate-docs:
runs-on: ubuntu-latest
permissions:
id-token: write

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -27,7 +29,7 @@ jobs:
run: python scripts/openapi.py

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20'

Expand All @@ -40,10 +42,10 @@ jobs:
mv redoc-static.html docs/index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./docs

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit 79d4e80

Please sign in to comment.