Remove github workflows #308
3 changed files with 0 additions and 74 deletions
27
.github/workflows/deployment.yml
vendored
27
.github/workflows/deployment.yml
vendored
|
@ -1,27 +0,0 @@
|
||||||
name: deployment
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build and Test
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 16.x
|
|
||||||
- run: yarn install --frozen-lockfile
|
|
||||||
- run: yarn build
|
|
||||||
- name: Deploy Production
|
|
||||||
uses: D3rHase/ssh-command-action@v0.2.1
|
|
||||||
with:
|
|
||||||
HOST: ${{secrets.HOST}}
|
|
||||||
PORT: ${{secrets.PORT}}
|
|
||||||
USER: ${{secrets.USER}}
|
|
||||||
PRIVATE_SSH_KEY: ${{secrets.PRIVATE_SSH_KEY}}
|
|
||||||
COMMAND: ${{secrets.PROD_COMMAND}}
|
|
20
.github/workflows/integration.yml
vendored
20
.github/workflows/integration.yml
vendored
|
@ -1,20 +0,0 @@
|
||||||
name: integration
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- feature/*
|
|
||||||
- hotfix/*
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build and Test
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 16.x
|
|
||||||
- run: yarn install --frozen-lockfile
|
|
||||||
- run: yarn build
|
|
||||||
- run: yarn test
|
|
27
.github/workflows/staging.yml
vendored
27
.github/workflows/staging.yml
vendored
|
@ -1,27 +0,0 @@
|
||||||
name: staging
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build and Test
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 16.x
|
|
||||||
- run: yarn install --frozen-lockfile
|
|
||||||
- run: yarn build
|
|
||||||
- name: Deploy Staging
|
|
||||||
uses: D3rHase/ssh-command-action@v0.2.1
|
|
||||||
with:
|
|
||||||
HOST: ${{secrets.HOST}}
|
|
||||||
PORT: ${{secrets.PORT}}
|
|
||||||
USER: ${{secrets.USER}}
|
|
||||||
PRIVATE_SSH_KEY: ${{secrets.PRIVATE_SSH_KEY}}
|
|
||||||
COMMAND: ${{secrets.STAGE_COMMAND}}
|
|
Loading…
Reference in a new issue