Skip to content

Commit 0bce73f

Browse files
committed
fix(ci): resolve configuration error in GitHub Actions workflow
1 parent bd49768 commit 0bce73f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci_cd.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,16 @@ jobs:
7171
runs-on: self-hosted
7272

7373
steps:
74+
- name: Checkout code
75+
uses: actions/checkout@v4
76+
77+
- name: Copy .env
78+
run: cp ~/.env.documents-exp .env
79+
7480
- name: Deploy
7581
env:
7682
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
7783
run: |
78-
cd /opt/documents-exp
7984
docker compose stop api
8085
docker compose rm -f api
8186
docker rmi $DOCKER_USERNAME/documents-exp-api:latest || true

0 commit comments

Comments
 (0)