From 262a1a94a24a878f140f9a3335a7c3e318ae3a86 Mon Sep 17 00:00:00 2001 From: rise0chen Date: Wed, 20 Mar 2024 11:35:13 +0800 Subject: [PATCH] ci --- .github/workflows/publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8ea4fc3..c8d1ca6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,14 +8,14 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Install ali ossutil - uses: manyuanrong/setup-ossutil@v2.0 + uses: yizhoumo/setup-ossutil@v2 with: - endpoint: ${{ env.AWS_ENDPOINT }} - access-key-id: ${{ env.AWS_ACCESS_KEY_ID }} - access-key-secret: ${{ env.AWS_SECRET_ACCESS_KEY }} + endpoint: ${{ secrets.AWS_ENDPOINT }} + access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + access-key-secret: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - name: Publish env: - AWS_ENDPOINT: ${{ env.AWS_ENDPOINT }} - AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }} + AWS_ENDPOINT: ${{ secrets.AWS_ENDPOINT }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} run: bash ./ci.sh