Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/callable-flex-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,9 @@ jobs:
git rm -q *.json
mv .github/flex-endpoint/*.json .
git add *.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just after:

cp -a .github/flex-endpoint/archived .
git add archived/

and remove the rest?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, you nailed it - that worked. Thank you for pointing that out :)

# merge in new archived files
mkdir -p archived
for file in .github/flex-endpoint/archived/*/*.json; do mv "$file" "archived/$(basename $(dirname "$file"))/$(basename "$file")"; done
git add archived/*/*.json
git commit -m 'Update Flex endpoint' || true
git push origin -f flex/main