nitro-react/.github/workflows/deploy.yml

26 lines
550 B
YAML
Raw Normal View History

2021-09-16 07:17:49 +02:00
name: Deploy Bundle@dev
on:
push:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Build Repository
uses: billsonnn/nitro-react@master
env:
HOST: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }}
PORT: ${{ secrets.PORT }}
KEY: ${{ secrets.SSHKEY }}
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
source: "."
target: "/var/www/nitrots.co/domains/prod.nitrots.co/html"
run: npm run build:prod