diff --git a/.github/workflows/655-test-jc.yml b/.github/workflows/655-test-jc.yml new file mode 100644 index 000000000..ecfc9f0cd --- /dev/null +++ b/.github/workflows/655-test-jc.yml @@ -0,0 +1,25 @@ +name: Export catalogs to CSV + +on: + push: + branches: [ 655-test-JC ] + +jobs: + Send-notification: + runs-on: ubuntu-latest + steps: + - name: Load secrets from 1Password to be used for sending notification + id: onepw_secrets + uses: 1password/load-secrets-action@v2.0.0 + with: + export-env: true # Export loaded secrets as environment variables + env: + OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} + CREDENTIALS: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/ifkeehu5gzi7wy5ub5qvwkaire/credential" + + - name: Send a notification to mobility-feed-api + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ env.CREDENTIALS }} + repository: MobilityData/mobility-feed-api + event-type: catalog-sources-updated-test