Sync Area Codes Weekly #3
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: Sync Area Codes Weekly | |
| on: | |
| # Run every Sunday at 2 AM UTC | |
| schedule: | |
| - cron: '0 2 * * 0' | |
| # Allow manual trigger | |
| workflow_dispatch: | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Sync Area Codes from NANPA | |
| run: | | |
| curl -X POST \ | |
| -H "Authorization: Bearer ${{ secrets.SYNC_SECRET }}" \ | |
| -H "Content-Type: application/json" \ | |
| https://api.magpipe.ai/functions/v1/sync-area-codes |