Pushing updated resume and contact information to production, along with automated deployment script and reorganized folder structure. #4

Merged
jason merged 11 commits from staging into release 2026-11-04 21:22:14 +00:00
2 changed files with 23 additions and 1 deletions
Showing only changes of commit 3691c917ef - Show all commits

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
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
with:
host: ${{ secrets.STAGING_SFTP_HOST }}
username: ${{ secrets.STAGING_SFTP_USERNAME }}
key: ${{ secrets.STAGING_SFTP_PRIVATE_KEY }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: "public_html/"
target: "~/web/jasonwilliamsca.dev.jnf.me/public_html/"
strip_components: 1