vanten-s.com/.forgejo/workflows/test.yaml

16 lines
441 B
YAML
Raw Normal View History

2024-07-21 22:16:26 +02:00
on: [push]
jobs:
2024-07-21 22:26:45 +02:00
build:
2024-07-21 22:16:26 +02:00
runs-on: docker
2024-07-21 22:41:54 +02:00
container:
image: alpine:latest
2024-07-21 22:16:26 +02:00
steps:
2024-07-21 22:41:54 +02:00
- run: apk add hugo
2024-07-21 22:43:36 +02:00
- run: apk add git
2024-07-21 22:52:22 +02:00
- run: apk add openssh
- run: mkdir .ssh
- run: echo "${{ secrets.KEY }}" > .ssh/id_ed25519
2024-07-21 22:43:06 +02:00
- run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com .
2024-07-21 22:41:54 +02:00
- run: hugo
2024-07-21 22:52:22 +02:00
- run: scp -o "Port 24" -r public svante@vanten-s.com:nginx-docker/vanten-s.com/