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

14 lines
463 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
2024-07-21 22:54:25 +02:00
- run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com src
- run: hugo -s src
2024-07-21 23:16:29 +02:00
- run: eval $(ssh-agent -s) && echo "${{ secrets.KEY }}" | ssh-add - && ssh -p 24 svante@vanten-s.com # scp -P 24 -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/