diff --git a/.gitea/workflows/push.yml b/.gitea/workflows/push.yml index bae6008..d697779 100644 --- a/.gitea/workflows/push.yml +++ b/.gitea/workflows/push.yml @@ -13,14 +13,23 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v6 - + with: + submodules: recursive + fetch-depth: 0 + - name: Setup SSH run: | mkdir -p ~/.ssh echo "${{ secrets.SSH_PRIV_KEY }}" > ~/.ssh/act chmod 600 ~/.ssh/act - + + - name: Build HUGO Site + run: | + apt update + apt install -y hugo + hugo --gc --minify + - name: Push to server run: | ssh -i ~/.ssh/act -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "rm -rf /srv/www/shadeouts.net/*" - scp -i ~/.ssh/act -o Port=${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no * ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/srv/www/shadeouts.net/ + scp -i ~/.ssh/act -o Port=${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no public/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/srv/www/shadeouts.net/ diff --git a/.gitmodules b/.gitmodules index 1f9cdc0..89af1b0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,3 @@ -[submodule "themes/papermod"] - path = themes/papermod - url = https://github.com/adityatelange/hugo-PaperMod.git [submodule "themes/PaperMod"] path = themes/PaperMod url = https://github.com/adityatelange/hugo-PaperMod.git diff --git a/index.html b/index.html deleted file mode 100644 index c143fd0..0000000 --- a/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Shadeouts - - - -

Welcome to Shadeouts.

- - diff --git a/robots.txt b/robots.txt deleted file mode 100644 index eb05362..0000000 --- a/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: