Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

github action: add deploy yaml for Uberspace #27

Merged
merged 3 commits into from
Aug 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy to Uberspace Test
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Deploy to Uberspace Demo
uses: burnett01/[email protected]
with:
switches: -avrh --delete
path: src/
remote_path: /var/www/virtual/${{ vars.UBERSPACE_SSH_USER }}/html
remote_host: ${{ vars.UBERSPACE_SSH_HOST }}
remote_user: ${{ vars.UBERSPACE_SSH_USER }}
remote_key: ${{ secrets.UBERSPACE_SSH_PRIVATE_KEY }}
Loading