Skip to content

Merge pull request #122 from Pistonight/feature/break_line_here #3

Merge pull request #122 from Pistonight/feature/break_line_here

Merge pull request #122 from Pistonight/feature/break_line_here #3

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: install dependencies
run: npm install --include=dev
- name: build
run: npm run build
- name: deploy build
uses: burnett01/[email protected]
with:
switches: -avr
path: dist/
remote_path: ${{ secrets.DEPLOY_PATH }}
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_port: ${{ secrets.DEPLOY_PORT }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}