gitea actions

This commit is contained in:
Seth Tunstall 2025-03-03 13:56:00 +00:00
parent 1d0fe5eebd
commit 4830cd443d

View File

@ -0,0 +1,34 @@
name: Deploy Themes to production services
on:
workflow_dispatch: {}
push:
branches:
- master
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
jobs:
update-bootscore:
runs-on: ubuntu-latest
steps:
- name: SSH private key
run: |
echo $SSH_PRIVATE_KEY >> deploy-key
- name: Update bootscore deployment on wp02-aira
uses: fifsky/ssh-action@master
with:
command: |
echo "my hostname is: $(hostname -f)"
host: ${{ secrets.HOST }}
user: root
key: ${{ secrets.SSH_PRIVATE_KEY}}
args: "-tt -vvv"