Skip to content

Commit dab0297

Browse files
committed
Changelog action
1 parent 706b1a4 commit dab0297

File tree

2 files changed

+11
-17
lines changed

2 files changed

+11
-17
lines changed

.github/workflows/build.yaml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
- name: Set commit SHA as code version
2828
run: echo "CODE_VERSION=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
2929

30-
# - name: Generate release notes
31-
# run:
32-
# ./gen-rel-notes.sh > CHANGELOG
33-
30+
- name: "Build Changelog"
31+
id: build_changelog
32+
uses: mikepenz/release-changelog-builder-action@v5
33+
3434
- name: Build and push
3535
run: docker compose -f docker-compose.build.yml --env-file tdei_uw.env build --build-arg CODE_VERSION=${CODE_VERSION}
3636
env:
@@ -81,14 +81,18 @@ jobs:
8181
# stop all running images, remove the containers, remove the images
8282
# why? in case we're rebuilding the image of the same commit, we want to ensure the newer image is deployed
8383
# in case the last one was corrupted for some reason--just to avoid any questions about deployment reliability
84-
docker stop $(docker ps -q)
85-
docker rm -v $(docker ps --filter status=exited -q)
86-
docker rmi $(docker images -q)
84+
#docker stop $(docker ps -q)
85+
#docker rm -v $(docker ps --filter status=exited -q)
86+
#docker rmi $(docker images -q)
8787
8888
# remove images no longer in use--may need disk space to pull
8989
# docker image prune -a -f
9090
9191
# pull new images, recreate containers
9292
docker compose -f docker-compose.deploy.yml --env-file tdei_uw.env up -d --force-recreate --remove-orphans
93+
94+
# check what was deployed, just to save in the GH logs
95+
sleep 30s
96+
docker ps
9397
9498

gen-rel-notes.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)