cd
This commit is contained in:
8
.github/workflows/cd.yml
vendored
8
.github/workflows/cd.yml
vendored
@@ -1,15 +1,13 @@
|
|||||||
name: Deploy
|
name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
push:
|
||||||
workflows: ["Check"]
|
tags:
|
||||||
types:
|
- v**
|
||||||
- completed
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && startsWith(github.ref, 'refs/tags/v')) }}
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: battleship
|
environment: battleship
|
||||||
steps:
|
steps:
|
||||||
|
Reference in New Issue
Block a user