2024-06-01 20:48:01 +02:00
|
|
|
name: Deploy (Production)
|
|
|
|
|
2024-06-15 19:08:12 +02:00
|
|
|
on: workflow_dispatch
|
2024-06-01 20:48:01 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
environment:
|
2024-06-15 19:09:11 +02:00
|
|
|
name: weblogs.at
|
|
|
|
url: https://weblogs.at
|
2024-06-01 20:48:01 +02:00
|
|
|
|
|
|
|
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
|