Miesięczna aktualizacja danych #30
This file contains 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: 'Miesięczna aktualizacja danych' | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run montly at 26th | |
- cron: '0 0 26 * *' | |
# Run two days later, in case 26th is on weekend. | |
- cron: '0 0 28 * *' | |
jobs: | |
build: | |
name: Request Netlify Webhook | |
runs-on: ubuntu-latest | |
steps: | |
- name: Curl request | |
run: curl -X POST -d {} ${{ secrets.NETLIFY_BUILD_HOOK }} |