Skip to content

Commit

Permalink
Update in the workflow step and removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
nirajCITZ committed Aug 30, 2023
1 parent 8a33311 commit 835d221
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/aps-cypress-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,28 @@ 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:
go-version: '1.19.x'

- 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
Expand All @@ -52,7 +56,7 @@ jobs:
with:
name: binary-artifact
path: ${{ github.workspace }}/e2e

- name: Build Docker Images
run: |
docker-compose build
Expand Down

0 comments on commit 835d221

Please sign in to comment.