nitro-react/.github/workflows/deploy.yml
Workflow config file is invalid. Please check your config file: yaml: line 16: mapping values are not allowed in this context
2021-09-16 01:56:04 -04:00

38 lines
889 B
YAML

name: Deploy Bundle@dev
on:
push:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install & Build
run: |
npm i git+https://git@git.krews.org/nitro/nitro-renderer#dev
npm i
npm run build
- name: Archive Artifacts
uses: actions/upload-artifact@v2
with:
path: |
build
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSHKEY }}
path: |
build
target: "/var/www/nitrots.co/domains/prod.nitrots.co/html"