david.aparoksha.dev/.gitea/workflows/publish.yml
david-swift 0c634e91ef
All checks were successful
Gitea Actions Demo / publish (push) Successful in 14s
Initial commit
2024-10-17 18:34:21 +02:00

26 lines
677 B
YAML

name: Gitea Actions Demo
run-name: Publish
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Install Zola
uses: taiki-e/install-action@v2
with:
tool: zola@0.19.1
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Build
run: zola build
- name: Upload
uses: wangyucode/sftp-upload-action@v2.0.2
with:
host: 'suhail.uberspace.de'
username: 'aproksha'
password: ${{ secrets.password }}
localDir: 'public'
remoteDir: '/var/www/virtual/aproksha/david.aparoksha.dev/'