Skip to content

Commit

Permalink
Merge pull request #4347 from nickmango/bug/cd-dev
Browse files Browse the repository at this point in the history
Bug/CD Dev
  • Loading branch information
nickmango authored Jun 11, 2024
2 parents 917e28c + 74764b2 commit d1e30e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ jobs:
${{ runner.os }}-go-
- name: Configure Git to clone private Github repos
run: git config --global url."https://${TOKEN_USER}:${TOKEN}@github.com".insteadOf "https://github.com"
run: |
echo PAT:${GH_PAT}
git config --global url."https://${GH_PAT}@github.com/".insteadOf "https://github.com/"
env:
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
TOKEN_USER: ${{ secrets.PERSONAL_ACCESS_TOKEN_USER }}
GH_PAT: ${{secrets.GH_PAT}}

- name: Add OS Tools
run: sudo apt update && sudo apt-get install file -y
Expand Down Expand Up @@ -78,10 +79,7 @@ jobs:
- name: Go Dependencies
working-directory: cla-backend-go
run: |
go mod tidy
go mod download
make deps
run: make deps

- name: Go Swagger Generate
working-directory: cla-backend-go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
if [[ ! -f bin/backend-aws-lambda ]]; then echo "Missing bin/backend-aws-lambda binary file. Exiting..."; exit 1; fi
if [[ ! -f bin/user-subscribe-lambda ]]; then echo "Missing bin/user-subscribe-lambda binary file. Exiting..."; exit 1; fi
yarn install
yarn sls deploy --force --stage ${STAGE} --region us-east-2
sls deploy --force --stage ${STAGE} --region us-east-2
- name: EasyCLA v2 Service Check
run: |
Expand Down

0 comments on commit d1e30e4

Please sign in to comment.