Skip to content

Workflow file for this run

on: push
name: πŸš€ Deploy website on push
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: Use Node.js 12
uses: actions/setup-node@v2-beta
with:
node-version: '12'
- name: πŸ”¨ Build Project
run: |
npm install
npm run build
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: storage.bunnycdn.com
port: 21
local-dir: ./dist/robcohen-dev/
server-dir: //
dangerous-clean-slate: true
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}