Skip to content

Commit

Permalink
disable github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronyicongfu committed Oct 30, 2024
1 parent 7efdf04 commit fbe8323
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
empack --version
sphinx-build -M html "docs/source" "docs/build"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs/build/html'

# - name: Upload artifact
# uses: actions/upload-pages-artifact@v3
# with:
# path: './docs/build/html'
#
- name: Push artifact to pages-artifact branch
uses: s0/git-publish-subdir-action@develop
env:
Expand All @@ -61,20 +61,20 @@ jobs:
MESSAGE: "Build: ({sha}) {msg}" # The commit message


deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# deploy:
# needs: build
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
#
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - name: Setup Pages
# uses: actions/configure-pages@v5
#
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4

0 comments on commit fbe8323

Please sign in to comment.