Skip to content

Building AI agents, atomically

Consolidate GitHub Pages deployment workflow steps

KennyVaneetveldecb881a119731
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index e711239..eb64bec 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -20,7 +20,10 @@ concurrency:
cancel-in-progress: false
jobs:
- build:
+ deploy:
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -49,13 +52,6 @@ jobs:
with:
path: docs/_build/html
- deploy:
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
- runs-on: ubuntu-latest
- needs: build
- steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3