From 7e71779fcbf7a00d61d82c0f6bafd288fa153636 Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Tue, 13 Jun 2023 14:16:59 +0200 Subject: Try eliminating the need for cargo-script in updating pages The docker container doesn't have cargo-script installed. This should be more efficient since it doesn't build cargo-script from source. --- .woodpecker.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2b404ad..4142b42 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -27,8 +27,7 @@ pipeline: - git clone -b pages https://$CBTOKEN@codeberg.org/$CI_REPO.git pages - cp -r dist/docs "pages/$CI_COMMIT_TAG" - cd pages - - cargo install cargo-script - - ./update-index.csh + - cargo run - git add --all - git commit -m "Woodpecker CI Generated Docs" - git push -- cgit v1.2.3