diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 0eeb427..ab90264 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -15,9 +15,8 @@ jobs: - name: Deploy folder run: | - echo "Deploying src/_site folder..." - pwd - echo $USER - whoami + echo "Cleaning old site files..." rm -rf /var/sites/cy.cyper.cc/www/html/* + + echo "Deploying new site files from src/_site folder..." mv ./src/_site/* /var/sites/cy.cyper.cc/www/html \ No newline at end of file diff --git a/src/posts/post-1.md b/src/posts/post-1.md index a638331..7b64573 100644 --- a/src/posts/post-1.md +++ b/src/posts/post-1.md @@ -1,5 +1,5 @@ --- -title: Post Title +title: You are stinky --- First post! \ No newline at end of file diff --git a/src/posts/post-2.md b/src/posts/post-2.md index 1f7c691..aea24df 100644 --- a/src/posts/post-2.md +++ b/src/posts/post-2.md @@ -1,5 +1,5 @@ --- -title: Post Title Two! +title: Actually very stinky --- Second post! \ No newline at end of file