From 915efc226e723193060d584b4f300cf6b8f40831 Mon Sep 17 00:00:00 2001 From: Vylpes Date: Fri, 23 Jun 2023 17:39:40 +0100 Subject: [PATCH] Remove github workflows (#308) Removing the github action workflows. This is because we no longer use github, and this just causes unnecessary compute minutes being used over on github. #251 Co-authored-by: Ethan Lane Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/308 --- .github/workflows/deployment.yml | 27 --------------------------- .github/workflows/integration.yml | 20 -------------------- .github/workflows/staging.yml | 27 --------------------------- 3 files changed, 74 deletions(-) delete mode 100644 .github/workflows/deployment.yml delete mode 100644 .github/workflows/integration.yml delete mode 100644 .github/workflows/staging.yml diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml deleted file mode 100644 index 53e7f47..0000000 --- a/.github/workflows/deployment.yml +++ /dev/null @@ -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}} \ No newline at end of file diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml deleted file mode 100644 index d74e7aa..0000000 --- a/.github/workflows/integration.yml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml deleted file mode 100644 index 5cff552..0000000 --- a/.github/workflows/staging.yml +++ /dev/null @@ -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}} \ No newline at end of file