-
-
Notifications
You must be signed in to change notification settings - Fork 836
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backend):ensure only the intended files are pushed (#8991)
- Loading branch information
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -233,14 +233,20 @@ jobs: | |
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # [email protected] | ||
with: | ||
path: artifact | ||
merge-multiple: true | ||
- name: Move files to correct location | ||
run: | | ||
echo "Version: $version" | ||
echo "Version: ${version}" | ||
echo "before move" | ||
ls -la artifact | ||
mkdir export/${version} | ||
mv artifact/schema.yml export/${version}/api.yaml | ||
mv artifact/inventree_settings.json export/${version}/inventree_settings.json | ||
mv artifact/inventree_tags.yml export/${version}/inventree_tags.yml | ||
mv artifact/inventree_filters.yml export/${version}/inventree_filters.yml | ||
echo "after move" | ||
ls -la artifact | ||
rm -rf artifact | ||
- uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # [email protected] | ||
name: Commit schema changes | ||
with: | ||
|