Skip to content

Commit

Permalink
combine build and deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Jun 28, 2024
1 parent cc52d3a commit ba69c9e
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/build_doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ concurrency:
cancel-in-progress: false

jobs:
build:
build-and-deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand All @@ -40,14 +43,7 @@ jobs:
with:
# Upload entire repository
path: './docs_build'
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
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

0 comments on commit ba69c9e

Please sign in to comment.