Skip to content

Commit

Permalink
ci: aliyunpan sni node
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwml committed Oct 5, 2023
1 parent ce76187 commit 48f2fa8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ jobs:
fi
sudo curl -L ${{ secrets.aliyunpan_go }} -o /bin/aliyunpan --progress-bar
sudo chmod 0755 /bin/aliyunpan
sudo sh -c 'echo "${{ secrets.aliyunpan_us_node }} api.aliyundrive.com auth.aliyundrive.com www.aliyundrive.com" >> /etc/hosts'
export ALIYUNPAN_CONFIG_DIR="$(pwd)/.aliyunpan"
aliyun_token=`curl -s ${{ secrets.aliyun_token }} | openssl enc -aes-256-cfb -pbkdf2 -a -d -k ${{ secrets.token_dec }}`
aliyunpan config set -device_id=$device_id >/dev/null 2>&1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ jobs:
fi
sudo curl -L ${{ secrets.aliyunpan_go }} -o /bin/aliyunpan --progress-bar
sudo chmod 0755 /bin/aliyunpan
sudo sh -c 'echo "${{ secrets.aliyunpan_us_node }} api.aliyundrive.com auth.aliyundrive.com www.aliyundrive.com" >> /etc/hosts'
export ALIYUNPAN_CONFIG_DIR="$(pwd)/.aliyunpan"
aliyun_token=`curl -s ${{ secrets.aliyun_token }} | openssl enc -aes-256-cfb -pbkdf2 -a -d -k ${{ secrets.token_dec }}`
aliyunpan config set -device_id=$device_id >/dev/null 2>&1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ jobs:
fi
sudo curl -L ${{ secrets.aliyunpan_go }} -o /bin/aliyunpan --progress-bar
sudo chmod 0755 /bin/aliyunpan
sudo sh -c 'echo "${{ secrets.aliyunpan_us_node }} api.aliyundrive.com auth.aliyundrive.com www.aliyundrive.com" >> /etc/hosts'
export ALIYUNPAN_CONFIG_DIR="$(pwd)/.aliyunpan"
aliyun_token=`curl -s ${{ secrets.aliyun_token }} | openssl enc -aes-256-cfb -pbkdf2 -a -d -k ${{ secrets.token_dec }}`
aliyunpan config set -device_id=$device_id >/dev/null 2>&1
Expand Down

0 comments on commit 48f2fa8

Please sign in to comment.