Updating deployment instructions

Update staging deployment yaml to use a common SSH key for all deployments to allow more granular access control server-side. Adding production deployment instructions.
This commit is contained in:
Jason Williams committed 2026-11-04 15:02:07 -06:00
1 parent d2ec162f87
commit 3691c917ef
2 files changed
+23 -1

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
name: Deploy to production webserver
run-name: ${{ gitea.actor }} is deploying to staging environment
on:
push:
branches: [ staging ]
workflow_dispatch:
jobs:
Deploy-To-Staging:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Deploy via SFTP
uses: appleboy/scp-action@master
with:
host: ${{ secrets.PRODUCTION_SFTP_HOST }}
username: ${{ secrets.PRODUCTION_SFTP_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: "public_html/"
target: "~/web/son-williams.ca/public_html/"
strip_components: 1