File tree 1 file changed +6
-3
lines changed 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 46
46
uses : actions/upload-artifact@v2
47
47
env :
48
48
TAG_NAME : test-report-${{ steps.date.outputs.date }}
49
- if : always()
49
+ if : ${{ always() }}
50
+
50
51
with :
51
52
name : onDemand
52
53
path : pw-report/
61
62
uses : actions/download-artifact@v3
62
63
id : download
63
64
- name : Publish to external repo
64
- if : always()
65
+ # Only upload if we're running from the staticwebdev repo
66
+ if : ${{ env.PAT_TOKEN != 0 }}
65
67
uses : peaceiris/actions-gh-pages@v3.7.3
66
68
with :
67
69
external_repository : mspnp/intern-js-pipeline
75
77
76
78
notify-dashboard :
77
79
name : Notify Dashboard
78
- if : ${{ always() }}
80
+ # Only upload if we're running from the staticwebdev repo
81
+ if : ${{ env.PAT_TOKEN != 0 }}
79
82
needs : [test, storeReports]
80
83
# The type of runner that the job will run on
81
84
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments