We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 403bdd2 commit f54cd0fCopy full SHA for f54cd0f
.github/workflows/deploy.yml
@@ -41,8 +41,8 @@ jobs:
41
42
- name: Copy build to destination
43
run: |
44
- # Remove all files from destination except .git and distribucions directory
45
- find destination -mindepth 1 -not -name '.git' -not -name 'distribucions' -exec rm -rf {} \;
+ # Remove all files from destination except .git and distribucions subdirectories
+ find destination -mindepth 1 -not -path '*/.git' -not -path '*/distribucions/catux/*' -not -name 'CNAME' -type f -delete;
46
47
# Copy all built files to destination
48
cp -r source/app/public/* destination/
0 commit comments