Skip to content

added python environment #12

added python environment

added python environment #12

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- main # change to your desired branch name
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build project
run: npm run build
- name: RSync Build Contents
uses: burnett01/[email protected]
with:
switches: -avzr
path: dist/
remote_path: ${{ secrets.FINAL_DEST }}
remote_host: ${{ secrets.SERVER_HOST }}
remote_user: ${{ secrets.SERVER_USERNAME }}
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}