File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -81,12 +81,12 @@ jobs:
81
81
uses : actions/upload-artifact@v2
82
82
with :
83
83
name : dist
84
- path : dist
84
+ path : dist/**
85
85
- if : matrix.os == 'ubuntu-latest' && matrix.node_version == 16 && github.event_name == 'push' && github.ref == 'refs/heads/main'
86
86
uses : actions/upload-artifact@v2
87
87
with :
88
88
name : example-app
89
- path : example/build
89
+ path : example/build/**
90
90
deploy :
91
91
needs :
92
92
- lint
@@ -106,12 +106,13 @@ jobs:
106
106
- uses : actions/download-artifact@v2
107
107
with :
108
108
name : dist
109
+ path : dist
109
110
- working-directory : ./example
110
111
run : npm install
111
112
- uses : actions/download-artifact@v2
112
113
with :
113
114
name : example-app
114
- path : example
115
+ path : example/build
115
116
- uses : peaceiris/actions-gh-pages@v3
116
117
with :
117
118
personal_token : ${{ secrets.GH_PAGES_DEPLOY_TOKEN }}
@@ -138,6 +139,7 @@ jobs:
138
139
- uses : actions/download-artifact@v2
139
140
with :
140
141
name : dist
142
+ path : dist
141
143
- run : npm publish --access public
142
144
env :
143
145
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments