Skip to content

Commit a564274

Browse files
committed
chore: deploy nginx workflow
1 parent b7b75b0 commit a564274

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/deploy-nginx.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Triggers deployment of the Nginx reverse proxy configuration for docs.apify.com
2+
# when the configuration file is updated in this repository.
3+
name: Deploy Nginx Configuration
4+
5+
on:
6+
push:
7+
branches:
8+
- master
9+
paths:
10+
- 'nginx.conf'
11+
workflow_dispatch:
12+
13+
jobs:
14+
trigger-deployment:
15+
name: Trigger Nginx deployment
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Trigger deployment workflow in apify-docs-private
19+
run: |
20+
gh workflow run deploy-nginx.yaml \
21+
--repo apify/apify-docs-private \
22+
--field deployment=apify-docs
23+
echo "✅ Deployment workflow triggered successfully"
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)