From 2cf68af99662e2764035e4ce497c651cfec37c63 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 28 Apr 2026 12:36:19 +0200 Subject: [PATCH] fix: change post_publish upload target to S3 (#3745) --- .github/workflows/post_publish.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/post_publish.yml b/.github/workflows/post_publish.yml index 06d69717..8f84e70d 100644 --- a/.github/workflows/post_publish.yml +++ b/.github/workflows/post_publish.yml @@ -13,20 +13,12 @@ jobs: - name: Checkout repo uses: actions/checkout@v6 - - name: Authenticate with Google Cloud - uses: google-github-actions/auth@v3 - with: - project_id: denoland - credentials_json: ${{ secrets.GCP_SA_KEY }} - export_environment_variables: true - create_credentials_file: true - - - name: Setup gcloud - uses: google-github-actions/setup-gcloud@v3 - with: - project_id: denoland - - name: Upload version file to dl.deno.land + env: + AWS_ACCESS_KEY_ID: ${{ vars.S3_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }} + AWS_ENDPOINT_URL_S3: ${{ vars.S3_ENDPOINT }} + AWS_DEFAULT_REGION: ${{ vars.S3_REGION }} run: | cat packages/fresh/deno.json | jq -r ".version" > release-latest.txt - gsutil -h "Cache-Control: no-cache" cp release-latest.txt gs://dl.deno.land/fresh/release-latest.txt + aws s3 cp release-latest.txt s3://dl-deno-land/fresh/release-latest.txt --cache-control "no-cache"