Skip to content

Commit

Permalink
Optionally delay destroy in github actions to allow investigation time
Browse files Browse the repository at this point in the history
  • Loading branch information
linda.nasredin committed Apr 25, 2024
1 parent 34afb22 commit e911a57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dsf_single_account_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,17 @@ jobs:
run: terraform -chdir=$EXAMPLE_DIR output -json

- name: Collect Artifacts
id: collect-artifacts
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: collected-keys
path: |
${{ env.EXAMPLE_DIR }}/ssh_keys
- name: Output artifact URL
run: echo 'Artifact URL is ${{ steps.collect-artifacts.outputs.artifact-url }} and ID is ${{ steps.collect-artifacts.outputs.artifact-id }}'

- name: Check how was the workflow run
id: check-trigger
if: ${{ failure() }}
Expand Down

0 comments on commit e911a57

Please sign in to comment.