Skip to content

Commit

Permalink
Separate jobs run in separate contexts.
Browse files Browse the repository at this point in the history
I thought that workflows were isolated but jobs were not. Ah well.
  • Loading branch information
nuclearsandwich committed Aug 20, 2024
1 parent 996815f commit b82031f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
- name: Build documentation
run: |
earthly --ci --output +doc
upload:
needs: build
runs-on: ubuntu-22.04
steps:
- name: Upload build for GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
Expand All @@ -29,7 +25,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: upload
needs: build
runs-on: ubuntu-22.04
steps:
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit b82031f

Please sign in to comment.