Skip to content

Commit

Permalink
Trying to skip job instead of aborting
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed May 30, 2024
1 parent 4468c50 commit d90ed32
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,10 @@ jobs:
deploy_to_s3:
runs-on: ubuntu-latest
needs: prepare
env:
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
if: ${{ env.AWS_KEY_ID != '' }}
steps:
- uses: actions/checkout@v4

- name: Check credentials
env:
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
if: ${{ env.AWS_KEY_ID == '' }}
run: exit 1

- name: Download artifact
uses: actions/download-artifact@v3
Expand Down

0 comments on commit d90ed32

Please sign in to comment.