Skip to content

Merge pull request #8 from One-Language/dependabot/github_actions/san… #7

Merge pull request #8 from One-Language/dependabot/github_actions/san…

Merge pull request #8 from One-Language/dependabot/github_actions/san… #7

Workflow file for this run

name: Deploy Site
on:
push:
branches:
- main
jobs:
mirror_with_sftp:
if: github.repository == 'One-Language/Website-FA'
name: deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: FTP Deployer
uses: sand4rt/[email protected]
with:
sftp: true
host: ${{ secrets.SERVER_HOST }}
port: 22
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
remote_folder: ${{ secrets.SERVER_PATH }}
local_folder: '.'
cleanup: false
include: '[ "*", "**/*" ]'
exclude: '["node_modules/**", "_secret.php", ".github/**", ".git/**", "*.env"]'
passive: true