Skip to content

Commit 9217763

Browse files
authored
Avoid concurrent builds of the deploy workflow
1 parent 2f79425 commit 9217763

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/deploy.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,22 @@ on:
77
push:
88
branches:
99
- develop
10+
11+
concurrency:
12+
group: ${{ github.workflow }}
13+
cancel-in-progress: true
14+
1015
jobs:
1116
deploy:
12-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-latest
1318
steps:
1419

15-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
1621

1722
- name: Set up ruby
1823
uses: ruby/setup-ruby@v1
1924
with:
20-
ruby-version: 2.7 # can change this to 2.7 or whatever version you prefer
25+
ruby-version: 3.2.2
2126

2227
- name: Build Jekyll site
2328
uses: limjh16/jekyll-action-ts@v2

0 commit comments

Comments
 (0)