From 95cd195032578dcab719b9412074edbe46e2e6ec Mon Sep 17 00:00:00 2001 From: jolheiser Date: Tue, 11 Jan 2022 03:22:52 +0000 Subject: [PATCH] Update '.woodpecker.yml' --- .woodpecker.yml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 74347b4..ffbe5e2 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -13,12 +13,9 @@ pipeline: netlify: image: node:14 secrets: - - source: bot_token - target: bot_token - - source: netlify_site_id - target: netlify_site_id - - source: netlify_auth_token - target: netlify_auth_token + - bot_token + - netlify_site_id + - netlify_auth_token commands: - node netlify.js when: @@ -28,17 +25,18 @@ pipeline: when: event: push branch: main - files: - - "dist/*" - output: dist.tar.gz + settings: + files: + - "dist/*" + output: dist.tar.gz release: image: jolheiser/drone-gitea-main:latest when: event: push branch: main - secrets: - - source: gitea_token - target: plugin_gitea_token - base: https://git.jojodev.com - files: - - "dist.tar.gz" + settings: + token: + from_secret: gitea_token + base: https://git.jojodev.com + files: + - "dist.tar.gz"