Skip to content

Commit 2416d52

Browse files
Branch name rename from master to main
1 parent 09c411b commit 2416d52

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Site Builder
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
release:
99
types:
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
name: "Build the pylonsproject.org website"
1616
steps:
17-
- uses: actions/checkout@master
17+
- uses: actions/checkout@v3
1818
- name: Setup Node.js
1919
uses: actions/setup-node@v1
2020
with:
@@ -26,7 +26,7 @@ jobs:
2626
CI_COMMIT_SHA: ${{ github.sha }}
2727
HUGO_BASEURL: "https://pylonsproject.org"
2828
- name: Upload artifacts
29-
uses: actions/upload-artifact@master
29+
uses: actions/upload-artifact@v3
3030
with:
3131
name: built-dist
3232
path: dist
@@ -55,7 +55,7 @@ jobs:
5555

5656
ghpages:
5757
runs-on: ubuntu-latest
58-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
58+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
5959
needs: build
6060
name: "Publish the website"
6161
steps:
@@ -89,7 +89,7 @@ jobs:
8989
runs-on: ubuntu-latest
9090
name: "Audit the NPM packages"
9191
steps:
92-
- uses: actions/checkout@master
92+
- uses: actions/checkout@v3
9393
- name: Setup Node.js
9494
uses: actions/setup-node@v1
9595
with:

0 commit comments

Comments
 (0)