Skip to content

fix(ci): master branch condition to push image #63

fix(ci): master branch condition to push image

fix(ci): master branch condition to push image #63

Workflow file for this run

name: Webhook Update Image
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Trigger second repository
run: |
curl --fail-with-body -X POST -H "Authorization: Bearer ${{ secrets.WEBHOOK_SECRET }}" -H "Accept: application/vnd.github+json" -H "Content-Type: application/json" https://api.github.com/repos/eol-uchile/argocd-config/dispatches --data '{"event_type": "update-portal", "client_payload": {"type": "portal"}}'