diff --git a/.github/workflows/syntax.yml b/.github/workflows/syntax.yml index fc3dec3a1..8cc051e4a 100644 --- a/.github/workflows/syntax.yml +++ b/.github/workflows/syntax.yml @@ -133,8 +133,10 @@ jobs: - name: Restart Apache2 run: sudo systemctl restart apache2 - - name: Link Cacti Root - run: sudo ln -s ${{ github.workspace }} /var/www/html + - name: Setup the Cacti Root + run: | + sudo cp -rp ${{ github.workspace }} /var/www/html + sudo chown -R www-data:www-data /var/www/html/cacti - name: Create and Initialize Database env: