remove obsolete feed coono (#818) #35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Notify Mobility Feed API on Systems Update | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - systems.csv # Only run if this file changes | |
| workflow_dispatch: # Allow manual trigger | |
| jobs: | |
| notify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Load secrets from 1Password | |
| id: onepw_secrets | |
| uses: 1password/load-secrets-action@v2.0.0 | |
| with: | |
| export-env: true | |
| env: | |
| OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
| CREDENTIALS: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/ifkeehu5gzi7wy5ub5qvwkaire/credential" | |
| - name: Send a notification to the mobility-feed-api | |
| uses: peter-evans/repository-dispatch@v2 | |
| with: | |
| token: ${{ env.CREDENTIALS }} | |
| repository: MobilityData/mobility-feed-api | |
| event-type: gbfs-systems-updated |