From 8f83c06cbee3aa43b26c1e9ead4809608c873e38 Mon Sep 17 00:00:00 2001 From: Bill Date: Thu, 16 Sep 2021 01:17:49 -0400 Subject: [PATCH] Test workflow --- .github/workflows/deploy.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..1a78a89b --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,25 @@ +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