diff --git a/.github/workflows/aha-prod-ci-cd.yml b/.github/workflows/aha-prod-ci-cd.yml index 748f37f2..fe78d515 100755 --- a/.github/workflows/aha-prod-ci-cd.yml +++ b/.github/workflows/aha-prod-ci-cd.yml @@ -29,7 +29,7 @@ jobs: Deploy-ECS: needs: Publish-Release - environment: prod + environment: aha-prod runs-on: ubuntu-latest steps: @@ -63,8 +63,8 @@ jobs: - name: Copy constant file run: aws s3 cp s3://${{ secrets.CONSTANT_FILE_BUCKET_PATH }}/constants.ts ./src/lib - - - name: Copy constant file + + - name: Copy favicon file run: aws s3 cp s3://${{ secrets.FAVICON_FILE_BUCKET }}/favicon.png ./static/favicon.png - name: Build and push @@ -120,4 +120,5 @@ jobs: url: 'https://reanfoundation.duplocloud.net/subscriptions/${{ secrets.DUPLO_ID }}/UpdateEcsService' method: 'POST' data: '{"TaskDefinition":${{ steps.taskdefintionvar.outputs.task_definition_arn }},"Name": "${{ secrets.SERVICE_NAME }}","Replicas":1, "HealthCheckGracePeriodSeconds": 1200, "DnsPrfx": ""}' - bearerToken: ${{ secrets.DUPLOCLOUD_TOKEN }} \ No newline at end of file + bearerToken: ${{ secrets.DUPLOCLOUD_TOKEN }} + diff --git a/.github/workflows/aha-uat-ci-cd.yml b/.github/workflows/aha-uat-ci-cd.yml index 4e88cfd5..e0f0a97c 100644 --- a/.github/workflows/aha-uat-ci-cd.yml +++ b/.github/workflows/aha-uat-ci-cd.yml @@ -78,7 +78,7 @@ jobs: - name: Copy constant file run: aws s3 cp s3://${{ secrets.CONSTANT_FILE_BUCKET_PATH }}/constants.ts ./src/lib - - name: Copy constant file + - name: Copy favicon file run: aws s3 cp s3://${{ secrets.FAVICON_FILE_BUCKET }}/favicon.png ./static/favicon.png - name: Build and push diff --git a/.github/workflows/prod-ci-cd.yml b/.github/workflows/prod-ci-cd.yml index b704ba85..686476ed 100755 --- a/.github/workflows/prod-ci-cd.yml +++ b/.github/workflows/prod-ci-cd.yml @@ -68,9 +68,14 @@ jobs: - name: Copy constant file run: aws s3 cp s3://${{ secrets.CONSTANT_FILE_BUCKET_PATH }}/constants.ts ./src/lib - - name: Copy constant file + - name: Copy favicon file run: aws s3 cp s3://${{ secrets.FAVICON_FILE_BUCKET }}/favicon.png ./static/favicon.png + - name: Show files + run: | + ls -al + cat ./src/lib/constants.ts + - name: Build and push id: docker_build uses: docker/build-push-action@v3