Skip to content

Merge pull request #26 from ApptiveDev/fix/register-page #7

Merge pull request #26 from ApptiveDev/fix/register-page

Merge pull request #26 from ApptiveDev/fix/register-page #7

Workflow file for this run

name: Deploy to EC2
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: yarn
- name: Build
run: yarn run build
- name: Copy files to EC2
uses: appleboy/scp-action@master
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
port: 22
source: "dist/*"
target: ${{ secrets.WEB_PUBLIC }}