Skip to content

armgit / fli

Public Imported from GitHub
0

Google Flights MCP, CLI and Python Library

Add github pages environment to docs workflow

Punit Arani0a093bc472dc
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index fec7e08..8c0998e 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -1,14 +1,25 @@
name: Deploy Documentation
+
on:
push:
branches:
- main
+ workflow_dispatch:
permissions:
contents: write
+ pages: write
+ id-token: write
+
+concurrency:
+ group: "pages"
+ cancel-in-progress: false
jobs:
deploy:
+ environment:
+ name: github-pages
+ url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4