Move files for deployment instead of copying

This commit is contained in:
Nick Chapman
2024-09-12 15:42:17 +01:00
committed by GitHub Enterprise
parent cdc326225f
commit dda8c33c1c

View File

@@ -34,10 +34,10 @@ jobs:
run: |
# Create an archive dir to hold all build and deployment artifacts
mkdir -p archive/bin
# Copy the binaries into the archive
cp build/ubuntu/* archive/bin
# Copy the deploy folder into the archive
cp -r deploy archive/
# Move the binaries into the archive (we don't copy because it's unecessary and slow)
mv build/ubuntu/* archive/bin
# Move the deploy folder into the archive
mv deploy/ archive/
# Ball it all up
tar -czvf "${{ env.PACKAGE_NAME }}" archive
- name: Publish EggsFS