ci: deploy with scp
Some checks failed
Deploy / build-and-test (push) Failing after 2m42s

This commit is contained in:
Aldo Funes 2025-03-12 10:13:43 +00:00
parent f85a8aaced
commit 6118d5abf5
No known key found for this signature in database

View File

@ -0,0 +1,32 @@
name: Deploy
on:
push:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Check
uses: zolacti/on@check
with:
drafts: true
- name: Build
uses: zolacti/on@build
- name: Deploy 🚀
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ vars.ATLAS_SSH_HOST }}
username: ${{ vars.ATLAS_SSH_USERNAME }}
key: ${{ secrets.ATLAS_SSH_KEY }}
port: ${{ vars.ATLAS_SSH_PORT }}
source: public
target: /www/blog
rm: true
overwrite: true