Skip to content

Commit

Permalink
Fix deploy action (#114)
Browse files Browse the repository at this point in the history
* Remove old docker support in dockerhub

* Do not run tests after merging, only before
  • Loading branch information
campos20 committed Jul 22, 2024
1 parent 0e5eff2 commit 12fbeac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
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

0 comments on commit 12fbeac

Please sign in to comment.