Compare commits

...

10 Commits

Author SHA1 Message Date
1855d36344
debugging workflow
All checks were successful
Deploying Static Site / Build (push) Successful in 37s
2025-03-15 18:02:17 -04:00
ed26b67bc2
debugging workflow 2025-03-15 18:02:17 -04:00
729cdb094e
debugging workflow 2025-03-15 18:02:17 -04:00
649b825b7a
changed key file name 2025-03-15 18:02:17 -04:00
1c054fc700
added openssh dependency 2025-03-15 18:02:17 -04:00
c40eb2477e
added scp deployment 2025-03-15 18:02:17 -04:00
d79a9b5acc
Add gitea-download-artifact 2025-03-15 18:02:17 -04:00
a7fa25f8e4
Add deploy job 2025-03-15 18:02:17 -04:00
a540dd3589
Fix some deps 2025-03-15 18:02:17 -04:00
4d308ff30c
Fix apk add 2025-03-15 18:02:17 -04:00

View File

@ -6,7 +6,16 @@ jobs:
Build:
container: alpine:latest
steps:
- run: apk install zola
- name: Install dependencies
run: apk add zola nodejs git openssh
- name: Check out repository code
uses: actions/checkout@v4
- run: zola build
- name: Write SSH keys
run: |
install -m 600 -D /dev/null ~/.ssh/id_ed25519
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
ssh-keyscan -H 192.168.1.113 > ~/.ssh/known_hosts
- name: Copy built site to server
run: scp -sr public git@192.168.1.113:/var/www/soaos.dev