2020-06-06 15:38:49 +00:00
|
|
|
name: Trigger Docker build on release
|
|
|
|
on:
|
|
|
|
release:
|
2020-06-19 18:26:53 +00:00
|
|
|
types: [released]
|
2020-06-06 15:38:49 +00:00
|
|
|
jobs:
|
|
|
|
curl:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: alpine:latest
|
|
|
|
steps:
|
|
|
|
- name: curl
|
|
|
|
run: |
|
|
|
|
apk add curl bash
|
2020-06-18 04:35:53 +00:00
|
|
|
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.com/repo/frappe%2Ffrappe_docker/requests
|