vanten-s.com/.forgejo/workflows/test.yaml
vanten-s f4b9c1310f
Some checks failed
/ build (push) Failing after 21s
Test
2024-07-21 23:05:46 +02:00

17 lines
521 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: mkdir .ssh
- run: echo "${{ secrets.KEY }}" > .ssh/id_ed25519
- run: chmod go-r .ssh/id_ed25519
- run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com src
- run: hugo -s src
- run: scp -P 24 -o "IdentityFile=.ssh/id_ed25519" -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/