Skip to content

Merge pull request #60 from iamtommetcalfe/dependabot/npm_and_yarn/ej… #63

Merge pull request #60 from iamtommetcalfe/dependabot/npm_and_yarn/ej…

Merge pull request #60 from iamtommetcalfe/dependabot/npm_and_yarn/ej… #63

Workflow file for this run

on:
push:
branches:
- main
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: "18.11.0"
- name: 🔨 Build Project
run: |
npm install
npm run build
- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.DEPLOY_SERVER }}
username: ${{ secrets.DEPLOY_USERNAME }}
password: ${{ secrets.DEPLOY }}
local-dir: ./dist/
server-dir: ./public_html/