diff --git a/.github/workflows/Module-Refresh_API.yml b/.github/workflows/Module-Refresh_API.yml index f36463a..0778bf6 100644 --- a/.github/workflows/Module-Refresh_API.yml +++ b/.github/workflows/Module-Refresh_API.yml @@ -40,3 +40,12 @@ jobs: file_glob: true tag: AutoUpdate overwrite: true + + - name: Upload API to Github SharePoint + uses: xopenwrt/s3-upload-github-action@master + env: + FILE: ./API + S3_ENDPOINT: 's3.openwrt.115115.xyz' + S3_BUCKET: ${{ secrets.S3_BUCKET }} + S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }} + S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }} \ No newline at end of file