Skip to content

Commit

Permalink
fix: change specific file to asterisk
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Sep 21, 2024
1 parent a4ee63a commit 27207e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 22 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/be-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,22 +51,13 @@ jobs:
echo "JASYPT_PASSWORD=${{ secrets.JASYPT_PASSWORD }}" > .env
echo "MYSQL_ROOT_PASSWORD=${{ secrets.MYSQL_ROOT_PASSWORD }}" >> .env
- name: Copy docker compose
- name: Copy jar
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: docker-compose.yaml
target: ~/${{ github.event.repository.name }}

- name: Copy bootJar
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: backend/build/libs/${{ github.event.repository.name }}.jar
source: docker-compose.yaml, backend/build/libs/
target: ~/${{ github.event.repository.name }}

- name: Restart docker compose
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/fe-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,13 @@ jobs:
working-directory: frontend
run: npm run build

- name: Copy docker compose
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: docker-compose.yaml
target: ~/${{ github.event.repository.name }}

- name: Copy dist
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: frontend/dist/
source: docker-compose.yaml, frontend/dist/
target: ~/${{ github.event.repository.name }}

# - name: Restart docker compose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public Basic basic(@ModelAttribute @Valid NameRequest nameRequest) {

@GetMapping("test")
public String test() {
return "tetete";
return "tetetete";
}
}

0 comments on commit 27207e9

Please sign in to comment.