From 4273413e98921714525444706cc6b03f69fa4518 Mon Sep 17 00:00:00 2001 From: Alessio Date: Fri, 18 Aug 2023 19:50:13 -0300 Subject: [PATCH] Try to fix the build --- .woodpecker/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index b5993b7..2726dc4 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -28,6 +28,8 @@ pipeline: image: offline-twitter/go when: branch: release-* + secrets: + - offline_twatter_passwd commands: - export version=$(echo $CI_COMMIT_BRANCH | grep -Poh "(?<=^release-)\d+\.\d+\.\d+") - curl https://apt.playfulpachyderm.com/KEY.gpg | sudo apt-key add - @@ -37,8 +39,9 @@ pipeline: - which twitter - twitter create_profile outdated_profile - cd outdated_profile + - twitter login offline_twatter "$OFFLINE_TWATTER_PASSWD" - twitter fetch_user michaelmalice - - twitter get_user_tweets michaelmalice + - twitter --session Offline_Twatter get_user_tweets michaelmalice - (cd ../cmd && ./compile.sh $version) - which ../cmd/tw - ../cmd/tw fetch_user michaelmalice