mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
rename "docker" job to "build", make dependency for deploy
This commit is contained in:
@@ -4,7 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
build:
|
||||||
name: Build Docker image
|
name: Build Docker image
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -49,6 +49,7 @@ jobs:
|
|||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
name: Deploy to Kubernetes cluster
|
name: Deploy to Kubernetes cluster
|
||||||
|
needs: [build]
|
||||||
runs-on: k8s-route
|
runs-on: k8s-route
|
||||||
if: github.ref == 'refs/heads/dev'
|
if: github.ref == 'refs/heads/dev'
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user