From 6d3e943e0bb045b367002e038332eb01608b5658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Gonz=C3=A1lez?= <36533965+victorggonzalez@users.noreply.github.com> Date: Wed, 15 Jun 2022 14:54:34 +0200 Subject: [PATCH] feat: new env variables --- .github/workflows/cdelivery-s3-caller.yml | 4 +++- .github/workflows/cintegration-s3-caller.yml | 11 ++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cdelivery-s3-caller.yml b/.github/workflows/cdelivery-s3-caller.yml index bc729084..1678e296 100644 --- a/.github/workflows/cdelivery-s3-caller.yml +++ b/.github/workflows/cdelivery-s3-caller.yml @@ -1,4 +1,4 @@ -name: Deploy Graasp auth to staging environment +name: Deploy to staging environment # Controls when the action will run. on: @@ -23,3 +23,5 @@ jobs: api-host: ${{ secrets.REACT_APP_API_HOST_STAGE }} show-notifications: ${{ secrets.REACT_APP_SHOW_NOTIFICATIONS }} graasp-compose-host: ${{ secrets.REACT_APP_GRAASP_COMPOSE_HOST_STAGE }} + graasp-explorer-host: ${{ secrets.REACT_APP_GRAASP_EXPLORE_HOST_STAGE }} + domain: ${{ secrets.REACT_APP_DOMAIN_STAGE }} diff --git a/.github/workflows/cintegration-s3-caller.yml b/.github/workflows/cintegration-s3-caller.yml index 55909b5d..c0bb812c 100644 --- a/.github/workflows/cintegration-s3-caller.yml +++ b/.github/workflows/cintegration-s3-caller.yml @@ -5,12 +5,7 @@ on: # Triggers the workflow on push events only for the main branch push: branches: - - main - - # Triggers the workflow on closed pull request events only for the main branch - pull_request: - branches: [main] - types: [closed] + - main # Allows to run the workflow manually from the Actions tab workflow_dispatch: @@ -20,7 +15,7 @@ jobs: graasp-deploy-s3-workflow: name: Graasp auth # Reference reusable workflow file. Using the commit SHA is the safest for stability and security - uses: graasp/graasp-deploy/.github/workflows/cintegration-s3.yml@524286168c130cd06b106aabafd3df7e92e64857 + uses: graasp/graasp-deploy/.github/workflows/cintegration-s3.yml@e545e23e196a2bd6b96be494f3acf230342e875b with: build-folder: 'build' secrets: @@ -32,3 +27,5 @@ jobs: api-host: ${{ secrets.REACT_APP_API_HOST_DEV }} show-notifications: ${{ secrets.REACT_APP_SHOW_NOTIFICATIONS }} graasp-compose-host: ${{ secrets.REACT_APP_GRAASP_COMPOSE_HOST_DEV }} + graasp-explorer-host: ${{ secrets.REACT_APP_GRAASP_EXPLORE_HOST_DEV }} + domain: ${{ secrets.REACT_APP_DOMAIN_DEV }}