Skip to content

Commit 1c1d031

Browse files
authored
Update deploy-frontend.yml
Signed-off-by: Antonio Cañete Baena <70489950+antbaena@users.noreply.github.com>
1 parent 328bd5d commit 1c1d031

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy-frontend.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
4141
- name: Sync frontend folder to prod-frontend
4242
run: |
43-
git clone --single-branch --branch prod-frontend https://x-access-token:${{ secrets.ANT_GITHUB_TOKEN }}@github.com/${{ github.repository }} prod-frontend rm -r prod-frontend/*
43+
git clone --single-branch --branch prod-frontend https://x-access-token:${{ secrets.ANT_GITHUB_TOKEN }}@github.com/${{ github.repository }} prod-frontend
44+
rm -r prod-frontend/*
4445
cp -r ./Code/infochange/client/dist/* prod-frontend/
4546
cd prod-frontend
4647
ls -la

0 commit comments

Comments
 (0)