Skip to content

Commit

Permalink
revert: modify gh-action
Browse files Browse the repository at this point in the history
Refs: b49827b
  • Loading branch information
KareemMAX authored Aug 31, 2023
1 parent b49827b commit 5872328
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ on:

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

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
update-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -34,7 +39,13 @@ jobs:
run: |
./.doc-builder/make_docs_without_docker.sh ..
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
folder: 'docs/build'
path: 'docs/build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 5872328

Please sign in to comment.