@@ -18,7 +18,7 @@ jobs:
|
||||
find /mnt/deploy -mindepth 1 -delete
|
||||
cp -R . /mnt/deploy/
|
||||
rm -rf /mnt/deploy/.git /mnt/deploy/.gitea
|
||||
SHA="${{ github.sha }}"
|
||||
echo "${{ github.run_number }} (${SHA:0:7})" > /mnt/deploy/build.txt
|
||||
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
||||
echo "${{ github.run_number }} ($SHORT_SHA)" > /mnt/deploy/build.txt
|
||||
find /mnt/deploy -type d -exec chmod 755 {} +
|
||||
find /mnt/deploy -type f -exec chmod 644 {} +
|
||||
|
||||
Reference in New Issue
Block a user