fixing formating

This commit is contained in:
Yaroslav 2023-11-03 09:51:46 +02:00
parent 2a626edbed
commit b20792080a
2 changed files with 14 additions and 15 deletions

View file

@ -8,14 +8,13 @@ on:
types: [ labeled ]
jobs:
build:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Build')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
uses: actions/checkout@v3
run: docker build . --file Dockerfile
- name: Login to Docker Hub
@ -23,6 +22,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:

View file

@ -10,7 +10,6 @@ on:
jobs:
deploy:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'CI:Deploy')
runs-on: ubuntu-latest
steps: