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

Fix deploy action #114

Merged
merged 2 commits into from
Jul 22, 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
9 changes: 0 additions & 9 deletions .github/workflows/backdeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,6 @@ jobs:
sed -i "s|version: 1.0.0|version: ${GIT_HASH}|g" server/src/main/resources/application.yaml
- name: Build jar
run: ./server/gradlew build -p server -x test
- name: Restore application.yaml
run: git checkout server/src/main/resources/application.yaml
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and push to ECR
run: |
cd server
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/backtest.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: Backend

on:
push:
branches:
- main
paths:
- "server/**"
- ".github/workflows/backtest.yaml"
pull_request:
branches:
- main
Expand Down
Loading