From 7ff467357d9f892cc7627039abfc4187dbc3fc74 Mon Sep 17 00:00:00 2001 From: Lam Tang Date: Thu, 23 Feb 2023 22:34:19 +0800 Subject: [PATCH] ci: remove delete-oss from publish.yml --- .github/workflows/publish.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4f02b8e..a8db5b7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,11 +10,11 @@ on: jobs: publish: runs-on: ubuntu-latest - + steps: - name: Check out repository uses: actions/checkout@v3 - + - name: Setup Node.js uses: actions/setup-node@v3 with: @@ -24,15 +24,7 @@ jobs: - run: npm run build env: CI: false - - - name: Clean up OSS - uses: gymgym1212/delete-oss@main - with: - key-id: ${{ secrets.OSS_ACCESS_KEY_ID }} - key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }} - region: ${{ secrets.OSS_REGION }} - bucket: ${{ secrets.OSS_BUCKET }} - + - name: Publish to OSS uses: tvrcgo/upload-to-oss@master with: @@ -42,4 +34,3 @@ jobs: bucket: ${{ secrets.OSS_BUCKET }} assets: | ./build/**:${{ secrets.OSS_TARGET_PATH }} -