diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 69871c6..8c9614b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -3,6 +3,8 @@ name: soaricarus_api CI on: push: branches: [ "main" ] + pull_request: + branches: [ "main" ] concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -104,8 +106,8 @@ jobs: GARAGE_DEFAULT_ACCESS_KEY: ${{ secrets.GARAGE_KEY_ID }} GARAGE_DEFAULT_SECRET_KEY: ${{ secrets.GARAGE_SECRET }} GARAGE_S3_REGION: "${{ env.AWS_DEFAULT_REGION }}" - S3_BUCKET_NAME: "soaricarus-ci-bucket" - S3_ENDPOINT_URL: "http://localhost:3900" + S3_BUCKET_NAME: ${{ env.S3_BUCKET }} + S3_ENDPOINT_URL: "${{ secrets.S3_CI_ENDPOINT_URL }}" AWS_S3_FORCE_PATH_STYLE: "true" run: | mkdir -p ~/.ssh