also teardown previews with new woodpecker version

This commit is contained in:
Ell 2024-01-03 11:47:09 +01:00
parent 58392836a1
commit 65c8a82f22
2 changed files with 4 additions and 4 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

@ -6,9 +6,9 @@ steps:
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: