Skip to content

Commit

Permalink
Fix: Implementasi deploy to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
pipinfitriadi committed Sep 5, 2023
1 parent 910fc70 commit c49601d
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,30 @@ jobs:
container:
image: kgrv/pdoc3:snapshot
options: --rm
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
environment:
name: github-pages
url: ${{ steps.docs.outputs.page_url }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Preparing source code
run: mv datasae /workspace/datasae
run: mv datasae/ /workspace/datasae/
- name: Generate docs
run: doc datasae
- run: ls -lah /workspace/
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: '/workspace/docs/html/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit c49601d

Please sign in to comment.