Update build-deploy.yaml
All checks were successful
GoLang Tests / Run Go Tests (push) Successful in 59s
All checks were successful
GoLang Tests / Run Go Tests (push) Successful in 59s
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
name: Arbeitszeitmessung Deploy
|
name: Arbeitszeitmessung Deploy
|
||||||
run-name: ${{ gitea.actor }} is building and deploying arbeitszeitmesssung
|
run-name: ${{ gitea.actor }} is building and deploying arbeitszeitmesssung
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- "main"
|
|
||||||
tags:
|
|
||||||
- "*"
|
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: [tests]
|
workflows: ["tests"]
|
||||||
types:
|
types:
|
||||||
- completed
|
- completed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Go Image and Upload
|
name: Build Go Image and Upload
|
||||||
|
if: |
|
||||||
|
github.event.workflow_run.conclusion == 'success' &&
|
||||||
|
github.event.workflow_run.event == 'push' &&
|
||||||
|
startsWith(github.event.workflow_run.head_branch, 'main') &&
|
||||||
|
startsWith(github.event.workflow_run.head_commit.ref, 'refs/tags/')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
Reference in New Issue
Block a user