From 1908e7397ce8a2b2445fd52049835f8d47c8dbb2 Mon Sep 17 00:00:00 2001 From: Ibrahim Serdar Acikgoz Date: Wed, 26 Apr 2023 17:02:00 +0300 Subject: [PATCH] workflows/artifacts.yml: do not upload build artifacts for branches --- .github/workflows/artifacts.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 1886775a8e..b26f425b1b 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -27,11 +27,9 @@ jobs: path: server/dist - name: cd/Upload artifacts to S3 env: - BRANCH_NAME: ${{ github.event.workflow_run.head_branch }} REPO_NAME: ${{ github.event.repository.name }} COMMIT_SHA: ${{ github.event.workflow_run.head_sha }} run: | - aws s3 cp server/dist/ s3://pr-builds.mattermost.com/$REPO_NAME/$BRANCH_NAME/ --acl public-read --cache-control "no-cache" --recursive --no-progress aws s3 cp server/dist/ s3://pr-builds.mattermost.com/$REPO_NAME/commit/$COMMIT_SHA/ --acl public-read --cache-control "no-cache" --recursive --no-progress build-docker: