Merge branch 'feature/celery-beat' #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will send POST request to deployment repository | |
name: Send POST request to Deploy | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
send-post: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send POST request to deploy repository | |
run: | | |
curl -X POST https://api.github.com/repos/nodarai/ansible-deployment/dispatches \ | |
-H 'Accept: application/vnd.github.everest-preview+json' \ | |
-u ${{ secrets.ACCESS_TOKEN }} \ | |
--data '{"event_type": "deploy", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'", "run_number": "${{ github.run_number }}" }}' |