This commit is contained in:
@@ -13,6 +13,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
run: |
|
run: |
|
||||||
@@ -20,7 +23,13 @@ jobs:
|
|||||||
echo "${{ secrets.SSH_PRIV_KEY }}" > ~/.ssh/act
|
echo "${{ secrets.SSH_PRIV_KEY }}" > ~/.ssh/act
|
||||||
chmod 600 ~/.ssh/act
|
chmod 600 ~/.ssh/act
|
||||||
|
|
||||||
|
- name: Build HUGO Site
|
||||||
|
run: |
|
||||||
|
apt update
|
||||||
|
apt install -y hugo
|
||||||
|
hugo --gc --minify
|
||||||
|
|
||||||
- name: Push to server
|
- name: Push to server
|
||||||
run: |
|
run: |
|
||||||
ssh -i ~/.ssh/act -p ${{ secrets.SSH_PORT }} -o StrictHostKeyChecking=no ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "rm -rf /srv/www/shadeouts.net/*"
|
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
3
.gitmodules
vendored
@@ -1,6 +1,3 @@
|
|||||||
[submodule "themes/papermod"]
|
|
||||||
path = themes/papermod
|
|
||||||
url = https://github.com/adityatelange/hugo-PaperMod.git
|
|
||||||
[submodule "themes/PaperMod"]
|
[submodule "themes/PaperMod"]
|
||||||
path = themes/PaperMod
|
path = themes/PaperMod
|
||||||
url = https://github.com/adityatelange/hugo-PaperMod.git
|
url = https://github.com/adityatelange/hugo-PaperMod.git
|
||||||
|
|||||||
13
index.html
13
index.html
@@ -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>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
User-agent: *
|
|
||||||
Disallow:
|
|
||||||
Reference in New Issue
Block a user