From f1de8e1db31592a66b28c337cdc68edb182b5d26 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Sat, 7 Oct 2023 14:40:11 +0800 Subject: [PATCH] ci: remove explicit config path --- .github/actions/setup-oss/action.yml | 2 +- .github/workflows/upload.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-oss/action.yml b/.github/actions/setup-oss/action.yml index 5f5cf4f..83a9fec 100644 --- a/.github/actions/setup-oss/action.yml +++ b/.github/actions/setup-oss/action.yml @@ -14,5 +14,5 @@ runs: shell: bash - name: Write ossutil config - run: echo "${{ inputs.ossutil-config }}" >> ./.ossutilconfig + run: echo "${{ inputs.ossutil-config }}" >> ~/.ossutilconfig shell: bash diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 53ced25..45ed4b6 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -27,7 +27,7 @@ jobs: run: pnpm run build - name: Upload to OSS - run: ossutil64 cp -f -c ./.ossutilconfig -r dist/ ${{ secrets.OSS_REMOTE_PATH }} + run: ossutil64 cp -f -r dist/ ${{ secrets.OSS_REMOTE_PATH }} - name: Update PRTS Website run: pnpm run update ${{ secrets.PRTS_USERNAME }} ${{ secrets.PRTS_PASSWORD }}