Skip to content

Commit 156e4c7

Browse files
committed
another try
1 parent 2e528bd commit 156e4c7

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/gh-pages.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -154,27 +154,27 @@ jobs:
154154
TZ: America/New York
155155
run: hugo --gc -e staging
156156

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
162161

163-
deploy:
164-
environment:
165-
name: github-pages
166-
url: ${{ steps.deployment.outputs.page_url }}
167-
runs-on: ubuntu-latest
168-
needs: build
169162

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
174174

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

0 commit comments

Comments
 (0)