Skip to content

Commit

Permalink
fix: deploy dir
Browse files Browse the repository at this point in the history
  • Loading branch information
tracetechnical committed Sep 6, 2022
1 parent 73dc3a2 commit ccbb830
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,16 @@ jobs:
steps:
- name: Bootstrap
shell: bash
run: cdk bootstrap --qualifier ${QUALIFIER} --toolkit-stack-name ${QUALIFIER}
run: |
cd /opt
cdk bootstrap --qualifier ${QUALIFIER} --toolkit-stack-name ${QUALIFIER}
- name: Synth
shell: bash
run: cdk synth --qualifier ${QUALIFIER} --toolkit-stack-name ${QUALIFIER}
run: |
cd /opt
cdk synth --qualifier ${QUALIFIER} --toolkit-stack-name ${QUALIFIER}
- name: Deploy
shell: bash
run: cdk deploy --qualifier ${QUALIFIER} --toolkit-stack-name ${QUALIFIER}
run: |
cd /opt
cdk deploy --qualifier ${QUALIFIER} --toolkit-stack-name ${QUALIFIER}
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ RUN python3 -m pip install -r requirements-cdk.txt

FROM root

WORKDIR /opt

COPY . .

CMD '/opt/entrypoint.sh'

0 comments on commit ccbb830

Please sign in to comment.