Use session file for temporary workaround command in build

This commit is contained in:
Alessio 2024-11-06 22:46:28 -08:00
parent 3fbf1ea474
commit 9d41c36368

View File

@ -63,7 +63,7 @@ steps:
# TODO: The CI server appears to have been IP-banned. Replacing login with session-file secret for now # TODO: The CI server appears to have been IP-banned. Replacing login with session-file secret for now
# - twitter login offline_twatter "$OFFLINE_TWATTER_PASSWD" # - twitter login offline_twatter "$OFFLINE_TWATTER_PASSWD"
- echo "$OFFLINE_TWATTER_SESSION_FILE" > Offline_Twatter.session # Write the session file - echo "$OFFLINE_TWATTER_SESSION_FILE" > Offline_Twatter.session # Write the session file
- twitter fetch_tweet https://x.com/pcmonk/status/1826683684285808876 #fetch_user pcmonk - twitter --session Offline_Twatter fetch_tweet https://x.com/pcmonk/status/1826683684285808876 #fetch_user pcmonk
- twitter --session Offline_Twatter get_user_tweets pcmonk - twitter --session Offline_Twatter get_user_tweets pcmonk
- (cd ../cmd && ./compile.sh $version) - (cd ../cmd && ./compile.sh $version)
- which ../cmd/tw - which ../cmd/tw