Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

implemented submodule update #1

implemented submodule update

implemented submodule update #1

name: "Submodule Notify Parent"
on: [push, workflow_dispatch]
# Allows you to run this workflow manually from the Actions tab

Check failure on line 5 in .github/workflows/update-submodule.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-submodule.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
workflow_dispatch:
jobs:
dispatch:
runs-on: ubuntu-latest
name: "Submodule Notify Parent"
strategy:
matrix:
repo: ["unicam-complex-system/camera-security-system-monorepo"]
steps:
- name: Push to repo
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.PAT }}
repository: ${{ matrix.repo }}
event-type: update
client-payload: '{"module":"${{ github.repository }}","sha":"${{ github.sha }}"}'