Skip to content

Commit

Permalink
fix: working directory 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
GIVEN53 committed Feb 7, 2024
1 parent 1a78ea7 commit b71021e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-fluentbit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ env:
ECS_SERVICE: ${{ secrets.ECS_SERVICE_NAME }}-prod
ECS_CLUSTER: ${{ secrets.ECS_CLUSTER_NAME }}-prod
TAG: latest
WORKING_DIRECTORY: fluentbit

jobs:
aws-config:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./fluentbit
steps:
- name: Check out code
uses: actions/checkout@v3
Expand All @@ -44,7 +46,6 @@ jobs:
run: |
docker build -t ${{ env.ECR_URI }}/${{ env.DEV_REPO }}:${{ env.TAG }} .
docker push ${{ env.ECR_URI }}/${{ env.DEV_REPO }}:${{ env.TAG }}
working-directory: ${{ env.WORKING_DIRECTORY }}
- name: Pull image from Amazon ECR and restart container in EC2
uses: appleboy/ssh-action@master
Expand All @@ -66,7 +67,6 @@ jobs:
run: |
docker build -t ${{ env.ECR_URI }}/${{ env.PROD_REPO }}:${{ env.TAG }} .
docker push ${{ env.ECR_URI }}/${{ env.PROD_REPO }}:${{ env.TAG }}
working-directory: ${{ env.WORKING_DIRECTORY }}
- name: Download task definition
run: |
Expand Down
2 changes: 1 addition & 1 deletion fluentbit/fluent-bit.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@

[OUTPUT]
name stdout
match *
match *

0 comments on commit b71021e

Please sign in to comment.