update group permissions in deploy.
Some checks failed
Build and Deploy / build (push) Failing after 1m35s

This commit is contained in:
Michael Mainguy 2025-12-30 10:28:15 -06:00
parent 13ecd5a626
commit c58ce483dd

View File

@ -31,6 +31,9 @@ jobs:
- name: Deploy to /opt/immersive
run: |
# Ensure group write so we can delete old files
chmod -R g+w /opt/immersive || true
# Remove old files except data directory
find /opt/immersive -mindepth 1 -maxdepth 1 ! -name 'data' -exec rm -rf {} +
@ -40,8 +43,9 @@ jobs:
# Remove unnecessary directories
rm -rf /opt/immersive/.git /opt/immersive/.github
# Set permissions on start.sh
# Set permissions on start.sh and ensure group write for future deploys
chmod +x /opt/immersive/start.sh
chmod -R g+w /opt/immersive
# Set ownership to immersive user
sudo chown -R immersive:immersive /opt/immersive