diff --git a/.github/workflows/fast-deploy.yaml b/.github/workflows/fast-deploy.yaml index ce72929..12dd193 100644 --- a/.github/workflows/fast-deploy.yaml +++ b/.github/workflows/fast-deploy.yaml @@ -42,7 +42,7 @@ jobs: username: ubuntu key: ${{ secrets.SSH_KEY }} script: | - sudo su - rm -rf /usr/share/nginx/html/ilia.moe - cp -r repo/src /usr/share/nginx/html/ilia.moe - cp -r repo/hugo/recipe/public /usr/share/nginx/html/ilia.moe/cool-stuff/recipes + sudo rm -rf /usr/share/nginx/html/ilia.moe + sudo cp -r repo/src /usr/share/nginx/html/ilia.moe + sudo cp -r repo/hugo/recipe/public /usr/share/nginx/html/ilia.moe/cool-stuff/recipes + sudo cp repo/error_pages/* /usr/share/nginx/html/resources