diff --git a/.github/workflows/trigger_data.yml b/.github/workflows/trigger_data.yml new file mode 100644 index 000000000..37f15d703 --- /dev/null +++ b/.github/workflows/trigger_data.yml @@ -0,0 +1,20 @@ +name: Run script + +on: + push: + branches: + - main + paths: + - "**.cs" + release: + types: [published] + +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: benc-uk/workflow-dispatch@v1 + with: + workflow: update.yml + repo: PoliNetworkOrg/RankingsDati + inputs: '{ "is_release": ${{ github.event_name == ''release'' }} }"'