website/.forgejo/workflows/publish.yaml
Peter Tillemans ff1eb3cab4
All checks were successful
/ build (push) Successful in 18s
remove old tool calls
2025-06-29 01:43:11 +02:00

24 lines
651 B
YAML

on: [push]
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: 'build'
uses: https://github.com/shalzz/zola-deploy-action@master
env:
PAGES_BRANCH: main
BUILD_DIR: .
BUILD_ONLY: true
- 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