Skip to content

Commit

Permalink
refactor: trigger on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
geoje committed Sep 21, 2024
1 parent 34c1826 commit ab33399
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/be-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Backend Deploy
on:
push:
branches:
- dev
- main
paths:
- backend/**

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/fe-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Frontend Deploy
on:
push:
branches:
- dev
- main
paths:
- frontend/**

Expand Down Expand Up @@ -40,12 +40,12 @@ jobs:
source: docker-compose.yaml, frontend/dist/
target: ~/${{ github.event.repository.name }}

# - name: Restart docker compose
# uses: appleboy/[email protected]
# with:
# host: ${{ secrets.HOST }}
# username: ${{ secrets.USERNAME }}
# key: ${{ secrets.KEY }}
# script: |
# cd ~/${{ github.event.repository.name }}
# docker compose restart fe
- name: Reload docker compose
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd ~/${{ github.event.repository.name }}
docker compose up -d fe
2 changes: 1 addition & 1 deletion frontend/src/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const LINKS = [
label: "잠재능력",
image: "/link/cube.svg",
content: <Potential />,
status: <Badge colorScheme="yellow">개선중</Badge>,
status: <Badge colorScheme="orange">개선중</Badge>,
},
{
name: "starforce",
Expand Down

0 comments on commit ab33399

Please sign in to comment.