diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9be8be6b19..e265b33746 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -46,11 +46,3 @@ jobs: CI: true TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres - - uses: aws-actions/configure-aws-credentials@v2 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: ${{ secrets.AWS_DEFAULT_REGION }} - - name: Publish static assets to S3 - run: | - aws s3 cp frontend/build s3://getunleash-static/unleash/main/$(git rev-parse HEAD) --recursive diff --git a/.github/workflows/notify_enterprise.yaml b/.github/workflows/notify_enterprise.yaml index e70d7c4303..7aa5abf3bf 100644 --- a/.github/workflows/notify_enterprise.yaml +++ b/.github/workflows/notify_enterprise.yaml @@ -26,6 +26,8 @@ jobs: - uses: actions/checkout@v3 - name: Trigger sync uses: actions/github-script@v6 + env: + COMMIT_ACTOR: ${{ github.event.commits[0].author.name }} <${{ github.event.commits[0].author.email }}> with: github-token: ${{ secrets.UNLEASH_CI_BUILDER_GITHUB_TOKEN }} script: | @@ -36,7 +38,7 @@ jobs: ref: 'master', inputs: { commit: "${{ github.event.head_commit.id }}", - actor: "${{ github.event.commits[0].author.name }} <${{ github.event.commits[0].author.email }}>", + actor: "${{ env.COMMIT_ACTOR }}", message: ${{ toJSON(github.event.head_commit.message) }}, } })