From 835d2216cf1f56a5765f7aceaeb2f5a9f0eb3b1b Mon Sep 17 00:00:00 2001 From: Niraj Patel Date: Wed, 30 Aug 2023 15:54:46 -0700 Subject: [PATCH] Update in the workflow step and removed unused code --- .github/workflows/aps-cypress-e2e.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/aps-cypress-e2e.yaml b/.github/workflows/aps-cypress-e2e.yaml index f2b852b4b..23b5db5ca 100644 --- a/.github/workflows/aps-cypress-e2e.yaml +++ b/.github/workflows/aps-cypress-e2e.yaml @@ -24,14 +24,14 @@ jobs: cd gwa-api/microservices/gatewayApi docker build -t gwa-api:e2e . + - name: Checkout Portal + uses: actions/checkout@v2 + - name: Checkout Source Repository run: | git clone https://github.com/bcgov/gwa-cli.git -b dev cd gwa-cli - - name: Checkout Portal - uses: actions/checkout@v2 - - name: Setup Go uses: actions/setup-go@v2 with: @@ -39,9 +39,13 @@ jobs: - name: create .env file run: | + cd gwa-cli echo "GWA_API_HOST=api-services-portal-feature-gwa-cli-v2.apps.silver.devops.gov.bc.ca" >> .env echo "GWA_CLIENT_ID=gwa-cli" >> .env + - name: Debug + run: echo ${{ github.workspace }} + - name: Build run: | cd gwa-cli @@ -52,7 +56,7 @@ jobs: with: name: binary-artifact path: ${{ github.workspace }}/e2e - + - name: Build Docker Images run: | docker-compose build