Skip to content

Commit

Permalink
Add deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
p3k committed Jun 1, 2024
1 parent 4ae840d commit 24be038
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy (Production)

on:
workflow_dispatch: {}
push:
branches:
- helma-🐜

jobs:
deploy:
runs-on: ubuntu-latest

environment:
name: p3k.org
url: https://blog.p3k.org

steps:
- name: Set up SSH agent
uses: antville/helma/.github/actions/ssh@helma-🐜
with:
config: ${{ vars.SSH_CONFIG }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
known-hosts: ${{ vars.SSH_KNOWN_HOSTS }}

- name: Copy files to production server
run: ssh staging-server deploy-helma

0 comments on commit 24be038

Please sign in to comment.