vanten-s.com/.forgejo/workflows/test.yaml
vanten-s 4e6b6b0491
Some checks failed
/ build (push) Failing after 25s
test
2024-07-21 23:25:31 +02:00

15 lines
470 B
YAML

on: [push]
jobs:
build:
runs-on: docker
container:
image: alpine:latest
steps:
- run: apk add hugo
- run: apk add git
- run: apk add openssh
- run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com src
- run: hugo -s src
- run: echo "${{ secrets.KEY }}"
- run: eval $(ssh-agent -s) && echo "${{ secrets.KEY }}" | ssh-add - && scp -P 24 -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/