diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b70206917..16de1395e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,7 +108,7 @@ jobs: decentraland_js_runtime_s3_bucket_key: ${{ steps.publish_dcl_js_runtime.outputs.s3-bucket-key }} decentraland_ecs_bucket_key: ${{ steps.publish_ecs.outputs.s3-bucket-key }} env: - IS_A_PR: github.event.pull_request.number != 'null' && github.head_ref != 'refs/heads/protocol-squad' + IS_A_PR: github.event.pull_request.number != 'null' && github.head_ref != 'protocol-squad' steps: - name: (PR) change @dcl/react-ecs dependencies versions to point to s3 url if: ${{ env.IS_A_PR }} @@ -151,7 +151,7 @@ jobs: with: registry-url: 'https://registry.npmjs.org' custom-tag: protocol-squad - branch-to-custom-tag: refs/heads/protocol-squad + branch-to-custom-tag: protocol-squad access: public cwd: ./packages/@dcl/js-runtime ## use action runId instead of current date to generate snapshot numbers @@ -162,7 +162,7 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/js-runtime' env: - BRANCH_NAME: ${{ github.ref }} + BRANCH_NAME: ${{ github.head_ref }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -173,7 +173,7 @@ jobs: with: registry-url: 'https://registry.npmjs.org' custom-tag: protocol-squad - branch-to-custom-tag: refs/heads/protocol-squad + branch-to-custom-tag: protocol-squad access: public cwd: ./packages/@dcl/ecs ## use action runId instead of current date to generate snapshot numbers @@ -184,7 +184,7 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/ecs' env: - BRANCH_NAME: ${{ github.ref }} + BRANCH_NAME: ${{ github.head_ref }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -207,7 +207,7 @@ jobs: with: registry-url: 'https://registry.npmjs.org' custom-tag: protocol-squad - branch-to-custom-tag: refs/heads/protocol-squad + branch-to-custom-tag: protocol-squad access: public cwd: ./packages/@dcl/react-ecs ## use action runId instead of current date to generate snapshot numbers @@ -218,7 +218,7 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}/@dcl/react-ecs' env: - BRANCH_NAME: ${{ github.ref }} + BRANCH_NAME: ${{ github.head_ref }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -229,7 +229,7 @@ jobs: with: registry-url: 'https://registry.npmjs.org' custom-tag: protocol-squad - branch-to-custom-tag: refs/heads/protocol-squad + branch-to-custom-tag: protocol-squad access: public cwd: ./packages/@dcl/inspector ## use action runId instead of current date to generate snapshot numbers @@ -265,7 +265,7 @@ jobs: with: registry-url: 'https://registry.npmjs.org' custom-tag: protocol-squad - branch-to-custom-tag: refs/heads/protocol-squad + branch-to-custom-tag: protocol-squad access: public cwd: ./packages/@dcl/sdk-commands ## use action runId instead of current date to generate snapshot numbers @@ -276,7 +276,7 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}' env: - BRANCH_NAME: ${{ github.ref }} + BRANCH_NAME: ${{ github.head_ref }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -308,7 +308,7 @@ jobs: with: registry-url: 'https://registry.npmjs.org' custom-tag: protocol-squad - branch-to-custom-tag: refs/heads/protocol-squad + branch-to-custom-tag: protocol-squad access: public cwd: ./packages/@dcl/sdk ## use action runId instead of current date to generate snapshot numbers @@ -319,7 +319,7 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}' env: - BRANCH_NAME: ${{ github.ref }} + BRANCH_NAME: ${{ github.head_ref }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} @@ -336,7 +336,7 @@ jobs: with: registry-url: 'https://registry.npmjs.org' custom-tag: protocol-squad - branch-to-custom-tag: refs/heads/protocol-squad + branch-to-custom-tag: protocol-squad access: public cwd: ./packages/@dcl/playground-assets ## use action runId instead of current date to generate snapshot numbers @@ -347,13 +347,13 @@ jobs: s3-bucket: ${{ secrets.SDK_TEAM_S3_BUCKET }} s3-bucket-key-prefix: '@dcl/js-sdk-toolchain/branch/${{ github.head_ref || github.ref }}' env: - BRANCH_NAME: ${{ github.ref }} + BRANCH_NAME: ${{ github.head_ref }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} AWS_ACCESS_KEY_ID: ${{ secrets.SDK_TEAM_AWS_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SDK_TEAM_AWS_SECRET }} notify_deployment: needs: [build] - if: github.event.pull_request.number != 'null' && github.head_ref != 'refs/heads/protocol-squad' + if: github.event.pull_request.number != 'null' && github.head_ref != 'protocol-squad' runs-on: ubuntu-latest name: Deployment Notification steps: