This commit is contained in:
@@ -19,13 +19,10 @@ jobs:
|
||||
- name: 2. Copy files to web directory
|
||||
run: |
|
||||
echo "Copying files to host folder..."
|
||||
ls -la
|
||||
ls /mnt
|
||||
cp -R . /mnt/deploy/.
|
||||
|
||||
- name: 3. Set permissions
|
||||
run: |
|
||||
echo "Setting web server permissions..."
|
||||
chown -R www-data:www-data /mnt/deploy
|
||||
find /mnt/deploy -type d -exec chmod 755 {} \;
|
||||
find /mnt/deploy -type f -exec chmod 644 {} \;
|
||||
Reference in New Issue
Block a user