Skip to content

Commit

Permalink
Merge pull request #860 from nginx/staging-auto-deploy
Browse files Browse the repository at this point in the history
Add auto deployment from main to docs staging environment
  • Loading branch information
nginx-jack authored Sep 24, 2024
2 parents dc3f8f5 + 4e64481 commit e5f63d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docs-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
- "*"
paths:
- site/**
push:
branches:
- "main"

permissions:
contents: read
Expand All @@ -34,6 +37,8 @@ jobs:
docs_build_path: "./site"
doc_type: "hugo"
environment: ${{inputs.environment}}
auto_deploy_branch: "main"
auto_deploy_env: "staging"
secrets:
AZURE_CREDENTIALS: ${{secrets.AZURE_CREDENTIALS_DOCS}}
AZURE_KEY_VAULT: ${{secrets.AZURE_KEY_VAULT_DOCS}}

0 comments on commit e5f63d2

Please sign in to comment.