Skip to content

Commit

Permalink
test peaceiris
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark2000 committed Jan 5, 2024
1 parent 1e40174 commit 745c957
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@ jobs:
cd docs
make html
cd ..
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./docs
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
# - name: Setup Pages
# uses: actions/configure-pages@v4
# - name: Build with Jekyll
# uses: actions/jekyll-build-pages@v1
# with:
# source: ./docs
# destination: ./_site
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
Expand All @@ -47,8 +48,15 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs



0 comments on commit 745c957

Please sign in to comment.