From 62d56d02d7981d1f9fd632205ef7d9d753f32dc7 Mon Sep 17 00:00:00 2001 From: Michel Wilhelm Date: Sun, 8 Nov 2020 00:15:33 -0300 Subject: [PATCH] Removing stage.yml, will not used --- .github/workflows/main.yml | 2 +- .github/workflows/stage.yml | 26 -------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 .github/workflows/stage.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1912e65..a818907 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: Creates a docker image for production on: push: - branches: [master] + branches: [main] jobs: docker: diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml deleted file mode 100644 index 53124f6..0000000 --- a/.github/workflows/stage.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Deploy to stage - -on: - push: - branches: [hotfix/*, feature/*] - -jobs: - docker: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v1 - with: - fetch-depth: 1 - - name: Docker Build & Push to GitHub Package - uses: opspresso/action-docker@master - with: - args: --docker - env: - USERNAME: imakecodes - PASSWORD: ${{ secrets.GH_TOKEN }} - REGISTRY: 'docker.pkg.github.com' - DOCKERFILE: 'Dockerfile' - IMAGE_NAME: 'minesweeper-fe' - TAG_NAME: 'stage' - LATEST: 'true'