Skip to content

Merge pull request #232 from HBO-i/feature/replace-cmd-k-with-slash #61

Merge pull request #232 from HBO-i/feature/replace-cmd-k-with-slash

Merge pull request #232 from HBO-i/feature/replace-cmd-k-with-slash #61

Workflow file for this run

name: Publish build to SFTP server
'on':
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: 🤌 Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: 📂 Build Project
run: |
npm install
npm run build
- name: 🚀 Deploy
uses: burnett01/[email protected]
with:
switches: '-avzr --delete'
path: build/
remote_path: '${{ secrets.FTP_SERVER_PATH }}'
remote_host: '${{ secrets.FTP_HOST }}'
remote_port: '${{ secrets.FTP_PORT }}'
remote_user: '${{ secrets.FTP_USER }}'
remote_key: '${{ secrets.FTP_SSH_PRIVATE }}'
remote_key_pass: '${{ secrets.FTP_SSH_PRIVATE_PHRASE }}'