Skip to content

Commit 09626df

Browse files
committed
fix(ci): use Procfile.ci to avoid Netlify conflicts
Create Procfile.ci with only Jekyll (no Netlify). Netlify auto-starts Vite, conflicting with foreman. CI uses Jekyll directly on port 3000 without redirects. Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
1 parent 7a9c3c5 commit 09626df

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,14 @@ jobs:
3737
make install
3838
- name: Start app (background) & wait until ready
3939
run: |
40-
make run &
41-
# Wait until the dev server is reachable
42-
npx --yes wait-on --timeout 180000 http://localhost:7777
40+
# Use CI-specific Procfile that only starts Jekyll (no Netlify)
41+
bundle exec foreman start -f Procfile.ci &
42+
# Wait until Jekyll is reachable
43+
npx --yes wait-on --timeout 180000 http://localhost:3000
4344
- name: link checker without external links
44-
run: make links/check EXCLUDE_EXTERNAL_LINKS=true
45+
run: make links/check EXCLUDE_EXTERNAL_LINKS=true LINK_CHECK_TARGET=http://localhost:3000
4546
- name: link checker dev without external links
46-
run: make links/check EXCLUDE_EXTERNAL_LINKS=true LINK_CHECK_TARGET=http://localhost:7777/docs/dev
47+
run: make links/check EXCLUDE_EXTERNAL_LINKS=true LINK_CHECK_TARGET=http://localhost:3000/docs/dev
4748

4849
installer-sh:
4950
name: Test installer.sh

Procfile.ci

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jekyll: bundle exec jekyll serve --port 3000 --config jekyll-dev.yml

0 commit comments

Comments
 (0)