💰 Fetch transactions (PayPal and OpenPix) #33
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: 💰 Fetch transactions (PayPal and OpenPix) | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 8 * * *" | |
| jobs: | |
| schedule: | |
| name: 💰 Fetch transactions (PayPal and OpenPix) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: superfly/flyctl-actions/setup-flyctl@master | |
| - run: flyctl ssh console -C "python manage.py fetch_paypal_transactions" | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
| - run: flyctl ssh console -C "python manage.py fetch_openpix_transactions" | |
| env: | |
| FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |