Skip to content

DigiDNA Aug 2023 (#629) #117

DigiDNA Aug 2023 (#629)

DigiDNA Aug 2023 (#629) #117

name: Trigger ProfileManifestsMirror rebuild
on:
push:
branches:
- main
- master
jobs:
build:
if: github.repository == 'ProfileCreator/ProfileManifests'
runs-on: ubuntu-latest
steps:
- name: POST to ProfileManifestsMirror rebuild workflow
run: |
curl -XPOST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-Type: application/json" \
--url "https://api.github.com/repos/Jamf-Custom-Profile-Schemas/ProfileManifestsMirror/actions/workflows/build.yml/dispatches" \
--data '{"ref": "main"}'