Skip to content

Commit bb1fc3e

Browse files
authored
Update download-cache.yml
1 parent 5421658 commit bb1fc3e

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/download-cache.yml

+9-10
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,12 @@ jobs:
5656
mv download-files-${{ matrix.php-version }}.zip ../downloads-archive/
5757
cd ..
5858
59-
- name: "Deploy to self-hosted server"
60-
uses: easingthemes/ssh-deploy@main
61-
env:
62-
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SERVER_SECRET_KEY }}
63-
ARGS: "-rltgoDzvO"
64-
SOURCE: "downloads-archive/"
65-
REMOTE_HOST: ${{ secrets.DEPLOY_SERVER_HOST }}
66-
REMOTE_PORT: ${{ secrets.DEPLOY_SERVER_PORT }}
67-
REMOTE_USER: ${{ secrets.DEPLOY_SERVER_USER }}
68-
TARGET: ${{ secrets.DEPLOY_SERVER_TARGET_DOWNLOAD_CACHE }}
59+
- name: "Deploy to self-hosted OSS"
60+
uses: shallwefootball/s3-upload-action@master
61+
with:
62+
aws_key_id: ${{ secrets.AWS_KEY_ID }}
63+
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
64+
aws_bucket: ${{ secrets.AWS_BUCKET }}
65+
source_dir: downloads-archive/
66+
destination_dir: static-php-cli/deps/downloads-archive/
67+
endpoint: ${{ secrets.AWS_ENDPOINT }}

0 commit comments

Comments
 (0)