.github/workflows/publish-production.yml
name: publish-production
on:
workflow_dispatch: {}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: call-publish-API
uses: indiesdev/curl@v1.1
with:
url: ${{ secrets.PUBLISH_PRODUCTION_URL }}
method: POST
headers: '{ "Accept": "application/json", "Content-Type": "application/json" }'
timeout: 15000 # 15 seconds
log-response: true