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