File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -154,27 +154,27 @@ jobs:
154
154
TZ : America/New York
155
155
run : hugo --gc -e staging
156
156
157
- - name : Upload artifact
158
- uses : actions/upload-pages-artifact@v3
159
- with :
160
- path : ./public
161
-
157
+ # - name: Upload artifact
158
+ # uses: actions/upload-pages-artifact@v3
159
+ # with:
160
+ # path: ./public
162
161
163
- deploy :
164
- environment :
165
- name : github-pages
166
- url : ${{ steps.deployment.outputs.page_url }}
167
- runs-on : ubuntu-latest
168
- needs : build
169
162
170
- steps :
171
- - name : Deploy to GitHub Pages
172
- id : deployment
173
- uses : actions/deploy-pages@v4
163
+ # deploy:
164
+ # environment:
165
+ # name: github-pages
166
+ # url: ${{ steps.deployment.outputs.page_url }}
167
+ # runs-on: ubuntu-latest
168
+ # needs: build
169
+ #
170
+ # steps:
171
+ # - name: Deploy to GitHub Pages
172
+ # id: deployment
173
+ # uses: actions/deploy-pages@v4
174
174
175
- # - name: Deploy
176
- # uses: peaceiris/actions-gh-pages@v4
177
- # if: github.ref == 'refs/heads/main'
178
- # with:
179
- # github_token: ${{ secrets.GITHUB_TOKEN }}
180
- # publish_dir: ./public
175
+ - name : Deploy
176
+ uses : peaceiris/actions-gh-pages@v4
177
+ if : github.ref == 'refs/heads/main'
178
+ with :
179
+ github_token : ${{ secrets.GITHUB_TOKEN }}
180
+ publish_dir : ./public
You can’t perform that action at this time.
0 commit comments