Setup HUGO
Some checks failed
Push changes to production / deploy (push) Failing after 27s

This commit is contained in:
2025-12-18 17:44:21 -06:00
parent d021597938
commit d59390b7b1
4 changed files with 12 additions and 21 deletions

View File

@@ -13,6 +13,9 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
- name: Setup SSH
run: |
@@ -20,7 +23,13 @@ jobs:
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/

3
.gitmodules vendored
View File

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

View File

@@ -1,13 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Shadeouts</title>
</head>
<body>
<p>Welcome to Shadeouts.</p>
</body>
</html>

View File

@@ -1,2 +0,0 @@
User-agent: *
Disallow: