Skip to content

Merge pull request #21 from Team-B1ND/hotfix/#20 #33

Merge pull request #21 from Team-B1ND/hotfix/#20

Merge pull request #21 from Team-B1ND/hotfix/#20 #33

Workflow file for this run

on:
push:
branches:
- master
name: Production Deployment
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-build-
${{ runner.OS }}-
- name: 🧩 Install Modules
run: yarn
- name: πŸ‘·β€β™‚οΈ Build Project
run: yarn build
env:
CI: false
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.DODAM_FILEZILLA_IP }}
username: ${{ secrets.DODAM_FILEZILLA_USERNAME }}
password: ${{ secrets.DODAM_FILEZILLA_PWD }}
local-dir: ./build/
port: 2021
protocol: ftps