Compare commits

..

2 commits

Author SHA1 Message Date
Ell
3f020542b0 use specific ruby version 2024-01-03 11:53:25 +01:00
Ell
65c8a82f22 also teardown previews with new woodpecker version 2024-01-03 11:47:09 +01:00
2 changed files with 5 additions and 5 deletions

View file

@ -10,9 +10,9 @@ steps:
commands:
- cd docs && dotnet tool restore && dotnet docfx
preview-docs:
image: woodpeckerci/plugin-surge-preview
image: woodpeckerci/plugin-surge-preview:1.3.0
when:
event: pull_request
event: [pull_request, pull_request_closed]
settings:
path: docs/_site
surge_token:

View file

@ -2,13 +2,13 @@ when:
path: "web/**"
steps:
build-web:
image: ruby:latest
image: ruby:3.2.2
commands:
- cd web && bundle && bundle exec jekyll build
preview-web:
image: woodpeckerci/plugin-surge-preview
image: woodpeckerci/plugin-surge-preview:1.3.0
when:
event: pull_request
event: [pull_request, pull_request_closed]
settings:
path: web/_site
surge_token: