Skip to content

Commit 17cfb7c

Browse files
authored
Chore: [AEA-0000] - change name used for file used for deployment history (#57)
## Summary - Routine Change ### Details - use _deployments.csv file for deployment history rather than _releases.csv
1 parent 6732ab9 commit 17cfb7c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/sam_release_code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,10 @@ jobs:
149149
NOW=$(date +'%Y-%m-%dT%H:%M:%S')
150150
echo "tag,release_datetime" > _data/${{ inputs.TARGET_ENVIRONMENT }}_latest.csv
151151
echo "${{ inputs.VERSION_NUMBER }},${NOW}" >> _data/${{ inputs.TARGET_ENVIRONMENT }}_latest.csv
152-
echo "${{ inputs.VERSION_NUMBER }},${NOW}" >> _data/${{ inputs.TARGET_ENVIRONMENT }}_releases.csv
152+
echo "${{ inputs.VERSION_NUMBER }},${NOW}" >> _data/${{ inputs.TARGET_ENVIRONMENT }}_deployments.csv
153153
git config user.name github-actions
154154
git config user.email github-actions@github.com
155155
git add _data/${{ inputs.TARGET_ENVIRONMENT }}_latest.csv
156-
git add _data/${{ inputs.TARGET_ENVIRONMENT }}_releases.csv
156+
git add _data/${{ inputs.TARGET_ENVIRONMENT }}_deployments.csv
157157
git commit -m 'update releases for ${{ inputs.TARGET_ENVIRONMENT }}'
158158
parallel --retries 10 --delay 3 ::: "git pull --rebase && git push"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ A combination of these checks are also run in CI.
213213
### Github pages
214214

215215
We use github pages to display deployment information. The source for github pages is in the gh-pages branch.
216-
As part of the ci and release workflows, the release tag (either the short commit SHA or release tag) is appended to _data/{environment}_releases.csv so we have a history of releases and replaced in _data/{environment}_latest.csv so we now what the latest released version is.
216+
As part of the ci and release workflows, the release tag (either the short commit SHA or release tag) is appended to _data/{environment}_deployments.csv so we have a history of releases and replaced in _data/{environment}_latest.csv so we now what the latest released version is.
217217
There are different makefile targets in this branch. These are
218218
- `run-jekyll` - runs the site locally so changes can be previewed during development
219219
- `sync-main` - syncs common files from main branch to gh-pages branch. You must commit and push after running this

0 commit comments

Comments
 (0)