Compare commits

..
10 Commits
Author SHA1 Message Date
caio 0d94c42939 add thomas
Deploy / deploy (push) Canceled after 0s
2026-05-25 12:28:17 -03:00
caio 2808b32cd1 update text 2026-05-25 00:30:29 -03:00
caio 0b3c13db0b change scp target folder 2026-05-25 00:25:17 -03:00
caio f9f8a95d4b use completely different method 2026-05-25 00:22:56 -03:00
caio 3d9d5d870b create personal directory 2026-05-25 00:10:36 -03:00
caio 91f5c2bbfa use a different container for base website build 2026-05-25 00:08:34 -03:00
caio 6ec10da715 create new workflow 2026-05-25 00:06:33 -03:00
caio 52ca66e6c3 add debugger 2026-05-25 00:04:49 -03:00
caio 368fdbc965 update build step again 2026-05-24 23:36:09 -03:00
caio cca8cba42e debug step 2026-05-24 23:34:46 -03:00
2 changed files with 16 additions and 6 deletions
+12 -6
View File
@@ -8,17 +8,23 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
container:
image: node:20-bullseye
steps:
- uses: actions/checkout@v3
- name: Build
run: |
docker run --rm \
-v $(pwd):/src \
-w /src \
klakegg/hugo:latest
wget https://github.com/gohugoio/hugo/releases/download/v0.147.1/hugo_0.147.1_linux-amd64.tar.gz
tar -xzf hugo_0.147.1_linux-amd64.tar.gz
./hugo
- name: Deploy
env:
SSH_KEY: ${{ secrets.HUGO_SSH_PRIVATE }}
run: |
rm -rf /web/personal/*
cp -r public/* /web/personal/
mkdir -p ~/.ssh
echo "$SSH_KEY" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan tokyo >> ~/.ssh/known_hosts
scp -r public/* hugo@tokyo:/home/hugo/personal/
+4
View File
@@ -1,3 +1,7 @@
# Hello
This is my site.
Eu amo a lorrany
hi thomas