File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 types : [opened, synchronize]
66
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
10+
711jobs :
812 build :
913 runs-on : ubuntu-20.04
1014 steps :
1115 - uses : actions/checkout@v3
12- with :
13- ref : refs/pull/${{ github.event.pull_request.number }}/merge
14- - uses : n1hility/cancel-previous-runs@v2
15- with :
16- token : ${{ secrets.GITHUB_TOKEN }}
1716
1817 - name : Set up ruby
1918 uses : ruby/setup-ruby@v1
Original file line number Diff line number Diff line change 66
77jobs :
88 preview-teardown :
9- runs-on : ubuntu-20.04
9+ runs-on : ubuntu-latest
1010 steps :
1111 - name : Teardown surge preview
1212 id : deploy
Original file line number Diff line number Diff line change 88
99jobs :
1010 preview :
11- runs-on : ubuntu-20.04
11+ runs-on : ubuntu-latest
1212 if : github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
1313 steps :
1414 - name : Download PR Artifact
You can’t perform that action at this time.
0 commit comments