Skip to content

Changed welcome h1 to h2. #94

Changed welcome h1 to h2.

Changed welcome h1 to h2. #94

Workflow file for this run

name: Build, Test and Transfer
on:
workflow_dispatch:
push:
branches: [ main ]
jobs:
Build_and_Test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/[email protected]
- name: Install Node Deps
uses: bahmutov/[email protected]
with:
working-directory: ./frontend
- name: NPM Run Build (Vite)
working-directory: ./frontend
run: npm run build
#run tests here eventually
- name: SCP Build Artifact to AWS
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: "frontend/build,frontend/package.json,frontend/package-lock.json"
target: "~/${{ secrets.DOMAIN }}"
rm: true
strip_components: 1