feat: run the updater only on master

This commit is contained in:
Alessandro Pezzè 2020-04-30 23:57:28 +02:00
parent 6842c66cdf
commit 4b2e0d8b90

View file

@ -25,7 +25,7 @@ jobs:
fingerprints: fingerprints:
- "d3:5f:9d:68:ea:12:9a:42:d3:d3:e1:db:b0:6a:fc:d2" - "d3:5f:9d:68:ea:12:9a:42:d3:d3:e1:db:b0:6a:fc:d2"
- run: - run:
name: TEST - Create test branch on api-data and relative PR # TODO: move to the deploy phase TODO: rename name: Generate new data and open a Pull Request towards PokeAPI/api-data
command: bash -x Resources/scripts/updater.sh command: bash -x Resources/scripts/updater.sh
workflows: workflows:
@ -36,3 +36,6 @@ workflows:
- generate_data: - generate_data:
requires: requires:
- test - test
filters:
branches:
only: master