Skip to content

Commit f9ec470

Browse files
committed
Revert "feat: Add pull request trigger and link checker"
This reverts commit 3a6f016.
1 parent 922c22f commit f9ec470

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Deploy Hugo site to Pages
33
on:
44
push:
55
branches: ["main", "cache-images"]
6-
pull_request: # Add this to run on pull requests
7-
branches: ["main"]
86

97
permissions:
108
contents: read
@@ -139,37 +137,12 @@ jobs:
139137
with:
140138
path: ./public
141139

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-
165140
deploy:
166141
environment:
167142
name: github-pages
168143
url: ${{ steps.deployment.outputs.page_url }}
169144
runs-on: ubuntu-24.04
170145
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'
173146
steps:
174147
- name: Deploy to GitHub Pages
175148
id: deployment

0 commit comments

Comments
 (0)