Skip to content

Add exit if already processing #228

Add exit if already processing

Add exit if already processing #228

Workflow file for this run

name: Deploys, everything has already been tested
on:
push:
branches:
- redesign_dev
- dev
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- run: echo "${{ secrets.DOTENVFILE }}" > .env
- run: 'yarn install'
- run: 'yarn nx run-many --target=lint --all --parallel --skip-nx-cache'
- run: 'yarn nx run-many --target=build --all --parallel --skip-nx-cache'
- name: Connect to server and trigger update
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST}}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
sudo /root/deploy.sh dev