Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/deploy-nginx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Triggers deployment of the Nginx reverse proxy configuration for docs.apify.com
# when the configuration file is updated in this repository.
name: Deploy Nginx Configuration

on:
# push:
# branches:
# - master
# paths:
# - 'nginx.conf'
workflow_dispatch:

jobs:
trigger-deployment:
name: Trigger Nginx deployment
runs-on: ubuntu-latest
steps:
- name: Trigger deployment workflow in apify-docs-private
run: |
gh workflow run deploy-nginx.yaml \
--repo apify/apify-docs-private \
--field deployment=apify-docs
echo "✅ Deployment workflow triggered successfully"
env:
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}