Skip to content

Commit

Permalink
Merge pull request #30 from ONSdigital/spp-7168-main-workspace-d
Browse files Browse the repository at this point in the history
Spp 7168 main workspace d
  • Loading branch information
BenLatham authored Sep 12, 2022
2 parents e2bdd72 + 79d903f commit 96893c9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Clear cache
run: aws cloudfront create-invalidation --distribution-id ${{needs.run-terraform.outputs.cloudfront_id}} --paths "/*" > /dev/null
draft-release:
if: ${{github.event.pull_request.action == 'closed' && github.event.pull_request.merged == true }}
if: ${{github.event.action == 'closed' && github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
needs: build-files
permissions:
Expand Down Expand Up @@ -147,4 +147,12 @@ jobs:
asset_path: build.zip
asset_name: build.zip
asset_content_type: application/zip
test-vars:
runs-on: ubuntu-latest
steps:
- run: echo ${{github.event.action}}
- run: echo ${{github.event.pull_request.merged}}
- run: echo ${{github.event.pull_request.action == 'closed'}}
- run: echo ${{github.event.pull_request.merged == true }}
- run: echo ${{github.event.pull_request.action == 'closed' && github.event.pull_request.merged == true }}

0 comments on commit 96893c9

Please sign in to comment.