diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml deleted file mode 100644 index 921edfd3..00000000 --- a/.github/workflows/publish-latest.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: publish-latest - -on: - workflow_dispatch: - - workflow_call: - -jobs: - publish: - runs-on: ubuntu-22.04 - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - ref: release-s3 - - - name: Install s3cmd - run: | - sudo apt-get update - sudo apt-get install s3cmd - - - name: Publish to S3 - working-directory: ./scripts - run: ./publish_to_s3.sh - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb4847ca..c1ecef01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,8 +46,3 @@ jobs: args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - publish: - uses: ./.github/workflows/publish-latest.yml - needs: goreleaser - secrets: inherit