Revant Nandgaonkar | 3375a2e | 2020-06-06 21:08:49 +0530 | [diff] [blame] | 1 | name: Trigger Docker build on release |
2 | on: | ||||
3 | release: | ||||
4 | types: [created] | ||||
5 | jobs: | ||||
6 | curl: | ||||
7 | runs-on: ubuntu-latest | ||||
8 | container: | ||||
9 | image: alpine:latest | ||||
10 | steps: | ||||
11 | - name: curl | ||||
12 | run: | | ||||
13 | apk add curl bash | ||||
14 | curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Travis-API-Version: 3" -H "Authorization: token ${{ secrets.TRAVIS_CI_TOKEN }}" -d '{"request":{"branch":"master"}}' https://api.travis-ci.org/repo/frappe%2Ffrappe_docker/requests |