diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml index c14263ee3..a109568b5 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/ci.yml @@ -37,8 +37,26 @@ steps: - yarn release - yarn release:standalone - yarn package - - ls -la - - ls -la release/* - - ls -la release-standalone/* - ls -la release-packages/* - - ls -la out/* \ No newline at end of file + when: + event: pull_request + branch: ${CI_REPO_DEFAULT_BRANCH} + + save-package: + image: ocram85/plugin-gitea-package:0.1.0 + secrets: [ gitea_user, gitea_passwd] + settings: + user: + from_secret: gitea_user + password: + from_secret: gitea_passwd + debug: "true" + owner: "ocram85" + package_name: "test_build" + package_version: "0.1.0" + file_source: "./release-packages/code-sever-0.0.0-linux-amd64.tar.gz" + file_name: "code-server.tar.gz" + update: "true" + when: + event: pull_request + branch: ${CI_REPO_DEFAULT_BRANCH} \ No newline at end of file