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: commands:
- cd docs && dotnet tool restore && dotnet docfx - cd docs && dotnet tool restore && dotnet docfx
preview-docs: preview-docs:
image: woodpeckerci/plugin-surge-preview image: woodpeckerci/plugin-surge-preview:1.3.0
when: when:
event: pull_request event: [pull_request, pull_request_closed]
settings: settings:
path: docs/_site path: docs/_site
surge_token: surge_token:

View file

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