File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -154,14 +154,18 @@ jobs:
154
154
TZ : America/New York
155
155
run : hugo --gc
156
156
157
- # - name: Upload artifact
158
- # uses: actions/upload-pages-artifact@v3
159
- # with:
160
- # path: ./public
161
-
162
- - name : Deploy
163
- uses : peaceiris/actions-gh-pages@v4
164
- if : github.ref == 'refs/heads/main'
157
+ - name : Upload artifact
158
+ uses : actions/upload-pages-artifact@v3
165
159
with :
166
- github_token : ${{ secrets.GITHUB_TOKEN }}
167
- publish_dir : ./public
160
+ path : ./public
161
+
162
+ - name : Deploy to GitHub Pages
163
+ id : deployment
164
+ uses : actions/deploy-pages@v4
165
+
166
+ # - name: Deploy
167
+ # uses: peaceiris/actions-gh-pages@v4
168
+ # if: github.ref == 'refs/heads/main'
169
+ # with:
170
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
171
+ # publish_dir: ./public
You can’t perform that action at this time.
0 commit comments