Hopefully works
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 5m1s

This commit is contained in:
2026-09-16 13:16:29 -06:00
parent 4cee170d66
commit 23fcb6aee2
+23 -10
View File
@@ -9,14 +9,27 @@ jobs:
- run: echo "Start action" - run: echo "Start action"
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: echo "Linking Ruby binaries"
- run: export GEM_HOME="bin/gems" - name: Set up Ruby
- run: export PATH="bin/gems/bin:$PATH" uses: ruby/setup-ruby@v1
- run: gem install jekyll bundler with:
- name: List files in the repository ruby-version: '3.3'
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Build Jekyll site
run: bundle exec jekyll build
- name: Start Jekyll server
run: | run: |
ls $ bundle exec jekyll serve \
- run: echo "Installing bundle things" --host 0.0.0.0 \
- run: bundle install --port 4000 \
- run: echo "Running jekyll service" --detach
- run: bundle exec jekyll serve
- name: Verify Jekyll server
run: |
sleep 5
curl --fail http://127.0.0.1:4000