website/.forgejo/workflows/publish.yaml
Peter Tillemans 49ee5486c1
All checks were successful
/ build (push) Successful in 16s
use v0.18.0 of zola
2024-06-25 15:46:05 +02:00

22 lines
596 B
YAML

on: [push]
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: https://github.com/taiki-e/install-action@v2
with:
tool: zola@0.18.0
- run: zola build
- name: copy file via ssh password
uses: https://github.com/appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: "public/*"
target: "/usr/share/nginx/snamellit/"
strip_components: 1