Skip to content

Commit

Permalink
build and deploy in the same action
Browse files Browse the repository at this point in the history
  • Loading branch information
malihass committed Jan 3, 2025
1 parent 3892e9d commit 9d1d5ff
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ on:

jobs:

build_docs:
build_deploy_docs:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -31,13 +33,6 @@ jobs:
cd docs
make html
deploy_docs:
needs: build_docs
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: deploy
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down

0 comments on commit 9d1d5ff

Please sign in to comment.