File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ branches-ignore :
6+ - " dependabot/**"
7+ pull_request :
8+ workflow_dispatch :
49
510env :
611 FORCE_COLOR : 2
1823 - name : Set up Node.js
1924 uses : actions/setup-node@v3
2025 with :
21- node-version : " ${{ env.NODE }}"
26+ node-version : ${{ env.NODE }}
2227 cache : npm
2328
2429 - name : Set up Ruby
4045 run : npm test
4146
4247 - name : Upload docs
43- uses : actions/upload-artifact@v2
44- if : success() && startsWith(github.ref, 'refs/tags/')
48+ uses : actions/upload-artifact@v3
49+ if : github.repository == 'mdo/github-buttons' && startsWith(github.ref, 'refs/tags/')
4550 with :
4651 name : docs
4752 path : ./_site/
@@ -50,13 +55,13 @@ jobs:
5055 deploy :
5156 runs-on : ubuntu-latest
5257 needs : test
53- if : startsWith(github.ref, 'refs/tags/')
58+ if : github.repository == 'mdo/github-buttons' && startsWith(github.ref, 'refs/tags/')
5459
5560 steps :
5661 - uses : actions/checkout@v3
5762
5863 - name : Download docs
59- uses : actions/download-artifact@v2
64+ uses : actions/download-artifact@v3
6065 with :
6166 name : docs
6267 path : ./_site/
Original file line number Diff line number Diff line change 1010 - master
1111 schedule :
1212 - cron : " 0 0 * * 0"
13+ workflow_dispatch :
1314
1415jobs :
1516 analyze :
You can’t perform that action at this time.
0 commit comments