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

Commit

Permalink
github action: add deploy yaml for Uberspace (#27)
Browse files Browse the repository at this point in the history
* github action: add deploy yaml for Uberspace
  • Loading branch information
Hanneses authored Aug 24, 2024
1 parent 7806b52 commit 129cca6
Showing 1 changed file with 19 additions and 0 deletions.
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 }}

0 comments on commit 129cca6

Please sign in to comment.