File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,23 @@ name: 'Deploy'
22
33on :
44 push :
5+ branches :
6+ - master
57 paths :
6- - ' nginx.conf'
8+ - ' nginx.conf'
9+ workflow_dispatch :
710
811jobs :
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 }}
You can’t perform that action at this time.
0 commit comments