Skip to content

misc: update readme. #3

misc: update readme.

misc: update readme. #3

Workflow file for this run

name: Build & Deploy to Azure
on:
push:
branches: [ azure ]
pull_request:
branches: [ azure ]
jobs:
build:
runs-on: ubuntu-latest
environment: Azure
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20
- name: Install npm dependencies
run: npm install
- name: Run build task
run: npm run build --if-present
- name: Deploy to Server
uses: easingthemes/[email protected]
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-avzr --delete"
SOURCE: "build/"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}