Skip to content

Commit 84fa175

Browse files
authored
Update deploy-app-staging.yml
1 parent cda63c8 commit 84fa175

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/deploy-app-staging.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,16 @@ jobs:
5656
echo $PATH
5757
echo "$PWD"
5858
hostname
59+
become mismatch-finder-staging rm -rf mismatch-finder-repo-next
60+
cp -rv mismatch-finder-repo-next/ ~tools.mismatch-finder-staging/
61+
become mismatch-finder-staging take mismatch-finder-repo-next
62+
become mismatch-finder-staging cp .env mismatch-finder-repo-next/
63+
become mismatch-finder-staging mkdir -p mismatch-finder-repo-next/storage/app/allowlist
64+
become mismatch-finder-staging cp uploaders.txt mismatch-finder-repo-next/storage/app/allowlist/
5965
# Make sure ~tools.mismatch-finder-staging/mismatch-finder-repo-next is group writable
60-
become mismatch-finder-staging chmod -R g+rwx ~tools.mismatch-finder-staging/mismatch-finder-repo-next
66+
# become mismatch-finder-staging chmod -R g+rwx ~tools.mismatch-finder-staging/mismatch-finder-repo-next
6167
# Change group of ~/mismatch-finder-repo-next (including symlinks) to tools.mismatch-finder-staging
62-
chgrp --no-dereference -R tools.mismatch-finder-staging ~/mismatch-finder-repo-next
63-
rsync -rlgD --delete --delay-updates --exclude '.nfs*' --exclude .env --exclude storage/app/ ~/mismatch-finder-repo-next ~tools.mismatch-finder-staging/
68+
# chgrp --no-dereference -R tools.mismatch-finder-staging ~/mismatch-finder-repo-next
69+
# rsync -rlgD --delete --delay-updates --exclude '.nfs*' --exclude .env --exclude storage/app/ ~/mismatch-finder-repo-next ~tools.mismatch-finder-staging/
6470
# take aborts recursion whenever it encounters a symlink, thus we use find+xargs to make sure all folders and file ares handled.
65-
find ~tools.mismatch-finder-staging/mismatch-finder-repo-next -type d,f \! -user tools.mismatch-finder-staging -print0 | become mismatch-finder-staging xargs -r --null take 2>&1 | { grep -vF 'will not follow or touch symlinks' || true; }
71+
# find ~tools.mismatch-finder-staging/mismatch-finder-repo-next -type d,f \! -user tools.mismatch-finder-staging -print0 | become mismatch-finder-staging xargs -r --null take 2>&1 | { grep -vF 'will not follow or touch symlinks' || true; }

0 commit comments

Comments
 (0)