From 70115c50b035716066f8a8683e6717cef7fe0464 Mon Sep 17 00:00:00 2001 From: fst0 Date: Tue, 23 May 2023 16:15:21 +0200 Subject: [PATCH] Update anx-ci.yml --- .github/workflows/anx-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/anx-ci.yml b/.github/workflows/anx-ci.yml index a08f3e19..9ce3d46e 100644 --- a/.github/workflows/anx-ci.yml +++ b/.github/workflows/anx-ci.yml @@ -56,15 +56,15 @@ jobs: - uses: actions/setup-python@v4 - - name: publish anx-prod to s3://$S3_BUCKET/junos_images/junos_exporter/$GITHUB_REF_NAME/junos_exporter + - name: publish anx-prod to s3://$S3_BUCKET/public/junos_exporter/$GITHUB_REF_NAME/junos_exporter run: | pip install s4cmd - s4cmd put --endpoint-url https://$S3_URL -f junos_exporter s3://$S3_BUCKET/junos_images/junos_exporter/$GITHUB_REF_NAME/junos_exporter + s4cmd put --endpoint-url https://$S3_URL -f junos_exporter s3://$S3_BUCKET/public/junos_exporter/$GITHUB_REF_NAME/junos_exporter if: github.ref_type == 'tag' || github.ref == 'refs/heads/anx-prod' - - name: "publish feature-branch to s3://$S3_BUCKET/junos_images/junos_exporter/staging/junos_exporter" + - name: "publish feature-branch to s3://$S3_BUCKET/public/junos_exporter/staging/junos_exporter" run: | pip install s4cmd - s4cmd put --endpoint-url https://$S3_URL -f junos_exporter s3://$S3_BUCKET/junos_images/junos_exporter/staging/junos_exporter + s4cmd put --endpoint-url https://$S3_URL -f junos_exporter s3://$S3_BUCKET/public/junos_exporter/staging/junos_exporter # value only there if pull_request or pull_request_target if: github.head_ref