Skip to content

Commit bea3867

Browse files
committed
Update build.yaml
1 parent a842ce2 commit bea3867

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/build.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,14 @@ jobs:
3636
id: build_changelog
3737
uses: mikepenz/release-changelog-builder-action@v5
3838
with:
39-
fromTag: "@~"
40-
toTag: "@"
41-
mode: "HYBRID"
39+
fromTag: "@~" # last commit
40+
toTag: "@" # this commit
41+
mode: "PR"
4242
outputFile: "CHANGELOG.md"
4343

44+
- name: Print CHANGELOG.md
45+
run: cat CHANGELOG.md
46+
4447
- name: Set up Docker Buildx
4548
uses: docker/setup-buildx-action@v3
4649

@@ -62,9 +65,6 @@ jobs:
6265
WS_TASKS_DB_PASS: ${{ secrets.WS_TASKS_DB_PASS }}
6366
WS_TASKS_SECRET_KEY: ${{ secrets.WS_TASKS_SECRET_KEY }}
6467

65-
- name: Print CHANGELOG.md
66-
run: cat CHANGELOG.md
67-
6868
- name: Deploy
6969
env:
7070
ENV: ${{ vars.ENV }}
@@ -113,5 +113,11 @@ jobs:
113113
114114
echo Deploy list
115115
docker ps
116-
117-
116+
117+
- uses: actions/upload-artifact@v4
118+
119+
- name: Release changelog
120+
uses: actions/upload-artifact@v4
121+
with:
122+
name: "${{ github.sha }} Changelog"
123+
path: CHANGELOG.md

0 commit comments

Comments
 (0)