Skip to content

Commit

Permalink
added mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimroshdy committed Jan 9, 2024
1 parent ce052bb commit 3c03f83
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Pages
on:
push:
branches:
- develop # Trigger the workflow only on pushes to the develop branch
- develop

jobs:
documents:
Expand Down Expand Up @@ -39,11 +39,5 @@ jobs:
git checkout develop # Ensure you are on the 'develop' branch
git pull origin develop
- name: Fetch gh-pages branch
run: git fetch gh-token gh-pages:gh-pages

- name: Deploy documents
run: python -m mkdocs gh-deploy -v --clean --remote-name gh-token

- name: Push changes to gh-pages branch
run: git push gh-token gh-pages

0 comments on commit 3c03f83

Please sign in to comment.