-
Notifications
You must be signed in to change notification settings - Fork 8
42 lines (40 loc) · 1.13 KB
/
master-release.yml
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
34
35
36
37
38
39
40
41
42
name: CD - Release
on:
push:
branches:
- main
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: simple
extra-files: |
.env
changelog-types: |
[
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
}
]
- name: Checkout
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@v3
- name: Publish Prod Artifacts
if: ${{ steps.release.outputs.release_created }}
uses: ./.github/actions/publish
with:
cloudrepo_user: ${{ secrets.CLOUDREPO_USER }}
cloudrepo_password: ${{ secrets.CLOUDREPO_PASSWORD }}
twine_password: ${{ secrets.TWINE_PASSWORD }}
twine_username: ${{ secrets.TWINE_USERNAME }}
npm_token: ${{ secrets.NPM_TOKEN }}