update group permissions in deploy.
All checks were successful
Build and Deploy / build (push) Successful in 1m38s
All checks were successful
Build and Deploy / build (push) Successful in 1m38s
This commit is contained in:
parent
c58ce483dd
commit
fd81ba3be7
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
||||
- name: Deploy to /opt/immersive
|
||||
run: |
|
||||
# Ensure group write so we can delete old files
|
||||
chmod -R g+w /opt/immersive || true
|
||||
sudo 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 {} +
|
||||
@ -45,7 +45,7 @@ jobs:
|
||||
|
||||
# Set permissions on start.sh and ensure group write for future deploys
|
||||
chmod +x /opt/immersive/start.sh
|
||||
chmod -R g+w /opt/immersive
|
||||
sudo chmod -R g+w /opt/immersive
|
||||
|
||||
# Set ownership to immersive user
|
||||
sudo chown -R immersive:immersive /opt/immersive
|
||||
|
||||
Loading…
Reference in New Issue
Block a user