Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Bug/CD Dev" #4350

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ jobs:
${{ runner.os }}-go-

- name: Configure Git to clone private Github repos
run: |
echo PAT:${GH_PAT}
git config --global url."https://${GH_PAT}@github.com/".insteadOf "https://github.com/"
run: git config --global url."https://${TOKEN_USER}:${TOKEN}@github.com".insteadOf "https://github.com"
env:
GH_PAT: ${{secrets.GH_PAT}}
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
TOKEN_USER: ${{ secrets.PERSONAL_ACCESS_TOKEN_USER }}

- name: Add OS Tools
run: sudo apt update && sudo apt-get install file -y
Expand Down Expand Up @@ -79,7 +78,10 @@ jobs:

- name: Go Dependencies
working-directory: cla-backend-go
run: make deps
run: |
go mod tidy
go mod download
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
sls deploy --force --stage ${STAGE} --region us-east-2
yarn sls deploy --force --stage ${STAGE} --region us-east-2

- name: EasyCLA v2 Service Check
run: |
Expand Down
Loading