Skip to content

Commit

Permalink
ci: adds mock deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
DavDeDev committed May 1, 2024
1 parent a79c985 commit d81d573
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/my-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:


jobs:
# I want two jobs one to run tests and publish result and the other to build and push docker image to github container registry

run-tests:
name: tests
runs-on: self-hosted
Expand Down Expand Up @@ -56,4 +56,11 @@ jobs:
file: ./docker/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

deploy:
name: deploy-to-dev
environment: Development
runs-on: self-hosted
needs: ['build-and-push-image']

0 comments on commit d81d573

Please sign in to comment.