Removing stage.yml, will not used
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -2,7 +2,7 @@ name: Creates a docker image for production
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
|
||||
26
.github/workflows/stage.yml
vendored
26
.github/workflows/stage.yml
vendored
@@ -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'
|
||||
Reference in New Issue
Block a user