Google Flights MCP, CLI and Python Library
Split up docs workflow into build and deploy
Punit Aranidf96d4f2f990
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 8c0998e..582005c 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -16,10 +16,7 @@ concurrency:cancel-in-progress: falsejobs:- deploy:- environment:- name: github-pages- url: ${{ steps.deployment.outputs.page_url }}+ build:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4@@ -39,4 +36,19 @@ jobs:mkdocs-material-- run: pip install mkdocs-material[imaging] mkdocstrings[python]- run: pip install -e .- - run: mkdocs gh-deploy --force+ - run: mkdocs build+ - name: Upload artifact+ uses: actions/upload-pages-artifact@v3+ with:+ path: site++ 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