File tree 1 file changed +24
-24
lines changed
1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -131,9 +131,9 @@ jobs:
131
131
# hugo-version: '0.127.0'
132
132
# extended: true
133
133
134
- # - name: Setup Pages
135
- # id: pages
136
- # uses: actions/configure-pages@v5
134
+ - name : Setup Pages
135
+ id : pages
136
+ uses : actions/configure-pages@v5
137
137
138
138
- name : Setup Node
139
139
uses : actions/setup-node@v4
@@ -151,29 +151,29 @@ jobs:
151
151
TZ : America/New York
152
152
run : hugo -d "./public" --cleanDestinationDir --baseURL "https://stumbo.github.io/" -e staging
153
153
154
- - name : Deploy
155
- uses : peaceiris/actions-gh-pages@v4
156
- if : github.ref == 'refs/heads/main'
157
- with :
158
- github_token : ${{ secrets.GITHUB_TOKEN }}
159
- publish_dir : ./public
154
+ # - name: Deploy
155
+ # uses: peaceiris/actions-gh-pages@v4
156
+ # if: github.ref == 'refs/heads/main'
157
+ # with:
158
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
159
+ # publish_dir: ./public
160
160
161
161
162
- # - name: Upload artifact
163
- # uses: actions/upload-pages-artifact@v3
164
- # with:
165
- # path: ./public
162
+ - name : Upload artifact
163
+ uses : actions/upload-pages-artifact@v3
164
+ with :
165
+ path : ./public
166
166
167
167
168
- # deploy:
169
- # environment:
170
- # name: github-pages
171
- # url: ${{ steps.deployment.outputs.page_url }}
172
- # runs-on: ubuntu-latest
173
- # needs: build
174
- #
175
- # steps:
176
- # - name: Deploy to GitHub Pages
177
- # id: deployment
178
- # uses: actions/deploy-pages@v4
168
+ deploy :
169
+ environment :
170
+ name : github-pages
171
+ url : ${{ steps.deployment.outputs.page_url }}
172
+ runs-on : ubuntu-latest
173
+ needs : build
174
+
175
+ steps :
176
+ - name : Deploy to GitHub Pages
177
+ id : deployment
178
+ uses : actions/deploy-pages@v4
179
179
You can’t perform that action at this time.
0 commit comments