Skip to content

Commit

Permalink
switch update api workflow branch check
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheaterpaul committed Dec 30, 2023
1 parent af62032 commit 039f925
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/update_api.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Update API

on:

push:
branches:
- ${{ github.event.repository.default_branch }}
paths:
- '**/src/main/resources/supporters.json'
- '**/src/main/resources/default_remote_config.json'
Expand All @@ -13,6 +10,7 @@ on:
jobs:
upload:
runs-on: ubuntu-latest
if: github.ref == github.event.repository.default_branch
steps:
- uses: actions/checkout@v3
- name: Upload supporters
Expand Down

0 comments on commit 039f925

Please sign in to comment.