forked from david-swift/duckling
Add Gitea action for publishing
This commit is contained in:
parent
371e666ea9
commit
ba168a1927
26
.gitea/workflows/publish.yml
Normal file
26
.gitea/workflows/publish.yml
Normal file
@ -0,0 +1,26 @@
|
||||
name: Publish
|
||||
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/duckling.aparoksha.dev/'
|
||||
Loading…
x
Reference in New Issue
Block a user