Gitea Actions
Some checks failed
Push changes to production / deploy (push) Failing after 13s

This commit is contained in:
2025-12-18 04:00:02 -06:00
parent 8219169a13
commit 80c21c911d

25
.gitea/workflows/push.yml Normal file
View File

@@ -0,0 +1,25 @@
name: Push changes to production
on:
push:
branches:
- "master"
tags:
- "v*"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v6
- name: Setup SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIV_KEY }}" > ~/.ssh/act
chmod 600 ~/.ssh/act
- name: Push to server
run: |
scp *.html ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/srv/www/shadeouts.net/ -i ~/.ssh/act -o StrictHostKeyChecking=no