Skip to content

🚀 Deploy

🚀 Deploy #15

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- main
name: 🚀 Deploy
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 🚚SetUp
run: echo "$SSH_PRIVATE_KEY" > key && chmod 600 key
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
- name: 📂 Sync files
uses: burnett01/[email protected]
with:
switches: -avz --delete
remote_path: ${{ secrets.REMOTE_PATH }}
remote_host: ${{ secrets.REMOTE_HOST }}
remote_user: ${{ secrets.REMOTE_USER }}
remote_port: ${{ secrets.REMOTE_PORT }}
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}