File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ name: Deploy Hugo site to Pages
3
3
on :
4
4
push :
5
5
branches : ["main", "cache-images"]
6
- pull_request : # Add this to run on pull requests
7
- branches : ["main"]
8
6
9
7
permissions :
10
8
contents : read
@@ -139,37 +137,12 @@ jobs:
139
137
with :
140
138
path : ./public
141
139
142
- link-checker :
143
- runs-on : ubuntu-24.04
144
- needs : build
145
- steps :
146
- - name : Download artifact
147
- uses : actions/download-artifact@v4
148
- with :
149
- name : github-pages
150
- path : ./public
151
- - name : Link Checker
152
- uses : lycheeverse/lychee-action@v1.11.0
153
- with :
154
- args : >-
155
- --verbose
156
- --exclude-mail
157
- --exclude-all-private
158
- --exclude 'https://www.linkedin.com/.*'
159
- --exclude 'https://twitter.com/intent/.*'
160
- --exclude 'https://github.com/open-neuromorphic/open-neuromorphic.github.io/issues/new/choose'
161
- './**/*.html'
162
- env :
163
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
164
-
165
140
deploy :
166
141
environment :
167
142
name : github-pages
168
143
url : ${{ steps.deployment.outputs.page_url }}
169
144
runs-on : ubuntu-24.04
170
145
needs : build
171
- # Only deploy on pushes to the main branch, not on pull requests
172
- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
173
146
steps :
174
147
- name : Deploy to GitHub Pages
175
148
id : deployment
You can’t perform that action at this time.
0 commit comments