Skip to content

Merge pull request #282 from One-Language/dependabot/github_actions/c… #154

Merge pull request #282 from One-Language/dependabot/github_actions/c…

Merge pull request #282 from One-Language/dependabot/github_actions/c… #154

Workflow file for this run

name: Deploy Site
on:
push:
branches:
- main
jobs:
mirror_with_sftp:
if: github.repository == 'One-Language/Website'
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: FTP Deployer
uses: sand4rt/ftp-deployer@v1.8
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