Skip to content

Commit

Permalink
Update model_uploader.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Thanawan Atchariyachanvanit <latchari@amazon.com>
  • Loading branch information
thanawan-atc committed Sep 18, 2023
1 parent ee2a878 commit e402d8f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/model_uploader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
init-workflow-var:
runs-on: 'ubuntu-latest'
steps:
# - name: Fail if branch is not main
# if: github.ref != 'refs/heads/main'
# run: |
# echo "This workflow should only be triggered on 'main' branch"
# exit 1
- name: Fail if branch is not main
if: github.ref != 'refs/heads/main'
run: |
echo "This workflow should only be triggered on 'main' branch"
exit 1
- name: Initiate folders
id: init_folders
run: |
Expand Down

0 comments on commit e402d8f

Please sign in to comment.