Skip to content

Commit c7d5482

Browse files
committed
fix
1 parent 3ed86df commit c7d5482

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

.github/workflows/deploy.yaml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,23 @@ name: 'Deploy'
22

33
on:
44
push:
5+
branches:
6+
- master
57
paths:
6-
- 'nginx.conf'
8+
- 'nginx.conf'
9+
workflow_dispatch:
710

811
jobs:
9-
deploy:
10-
name: 'Deploy NGINX'
11-
runs-on: ubuntu-latest
12-
steps:
13-
- run: gh workflow run deploy.yaml --repo apify/apify-docs-private
14-
env:
15-
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
16-
INTERCOM_APP_ID: ${{ secrets.INTERCOM_APP_ID }}
17-
SEGMENT_TOKEN: ${{ secrets.SEGMENT_TOKEN }}
12+
trigger-deployment:
13+
name: Trigger Nginx deployment
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Trigger deployment workflow in apify-docs-private
17+
run: |
18+
gh workflow run deploy-nginx.yaml \
19+
--repo apify/apify-docs-private \
20+
--ref separate-crawlee-docs \
21+
--field deployment=apify-docs
22+
echo "✅ Deployment workflow triggered successfully"
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)