Skip to content

Dispatch Update Submodule #16

Dispatch Update Submodule

Dispatch Update Submodule #16

Workflow file for this run

name: Dispatch Update Submodule
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
check_version:
name: Check version
runs-on: ubuntu-latest
outputs:
changed: ${{ steps.check_version.outputs.changed }}
version: ${{ steps.check_version.outputs.version }}
prev_version: ${{ steps.check_version.outputs.prev_version }}
steps:
- uses: actions/checkout@v4
- id: check_version
uses: radumarias/action-check-version-changed-rust@v1
dispatch:
needs: [check_version]
if: needs.check_version.outputs.changed == 'true'
runs-on: ubuntu-latest
steps:
- name: Dispatch update to Personal Website
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.PAT }}
repository: organizedgrime/organizedgrime.github.io
event-type: update-submodule