-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 814 Bytes
/
Copy pathcd.yml
File metadata and controls
33 lines (29 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# https://github.com/vergil-project/vergil-actions/blob/develop/.github/workflows/README.md
name: CD
on:
push:
branches: [develop, main]
workflow_dispatch:
permissions:
attestations: write
contents: write
id-token: write
pull-requests: write
jobs:
docs:
uses: vergil-project/vergil-actions/.github/workflows/cd-docs.yml@v2.0
with:
pre-deploy-command: >-
git clone --depth 1 --branch develop
https://github.com/mq-rest-admin-project/mq-rest-admin-common.git
.mq-rest-admin-common
permissions:
contents: write
release:
if: github.ref == 'refs/heads/main'
uses: vergil-project/vergil-actions/.github/workflows/cd-release.yml@v2.0
with:
language: java
container-tag: "17"
registry-publish: true
secrets: inherit