website/.forgejo/workflows/demo.yaml
Peter Tillemans 65579662ab
All checks were successful
/ build (push) Successful in -1m48s
use explicit url for scp-action
2024-05-26 20:25:56 +02:00

23 lines
No EOL
603 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.17.1
- run: pwd
- run: find .
- 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/"