Skip to content

Commit

Permalink
Update doc-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SchawnnDev authored Mar 18, 2024
1 parent 6db7aeb commit 2be54e4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/doc-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ on:
push:
branches:
- main

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: "Checkout 🛎️"
uses: actions/checkout@v3
with:
persist-credentials: false

Expand All @@ -25,15 +28,15 @@ jobs:
pip3 install setuptools
pip3 install sphinx sphinx-rtd-theme
- name: "Build Sphinx Doc"
- name: "Build Sphinx Doc 🔧"
run: |
make html
# a modifier pour correspondre au projet

- name: "Deploy Github Pages"
uses: JamesIves/github-pages-deploy-action@3.7.1
- name: "Deploy Github Pages 🚀"
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: main
FOLDER: build/html/
FOLDER: build/html/

0 comments on commit 2be54e4

Please sign in to comment.