Merge pull request #3 from em-ilia/em-ilia-patch-1

Update fast-deploy.yaml
This commit is contained in:
Emilia Allison 2022-09-29 21:35:56 -04:00 committed by GitHub
commit cad991a116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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