You are stinky
-First post!
- - -Actually very stinky
-Second post!
- - -diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index ab90264..8e4b8bf 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -13,10 +13,15 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Build site + run: | + cd ./src + npx @11ty/eleventy + - name: Deploy folder run: | 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 + mv ./_site/* /var/sites/cy.cyper.cc/www/html \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f640035 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +src/_site/ \ No newline at end of file diff --git a/src/_site/index.html b/src/_site/index.html deleted file mode 100644 index 86c2a01..0000000 --- a/src/_site/index.html +++ /dev/null @@ -1,26 +0,0 @@ - - -
- - -First post!
- - -Second post!
- - -First post!
- -Second post!
- -