File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Site Builder
33on :
44 push :
55 branches :
6- - master
6+ - main
77 pull_request :
88 release :
99 types :
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 :
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
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 :
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 :
You can’t perform that action at this time.
0 commit comments