forked from superstreamlabs/memphis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e02bc77
commit d4aba07
Showing
1 changed file
with
14 additions
and
25 deletions.
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 |
---|---|---|
|
@@ -26,41 +26,30 @@ jobs: | |
with: | ||
node-version: '18' | ||
|
||
- name: Install Dependencies | ||
run: | | ||
cd ui_src | ||
npm ci | ||
# - name: Install Dependencies | ||
# run: | | ||
# cd ui_src | ||
# npm ci | ||
|
||
- name: Print Current Working Directory | ||
run: pwd | ||
|
||
- name: Clear Previous Build | ||
run: | | ||
ls -la ./../ui_static_files/build/ | ||
rm -rf ./../ui_static_files/build/* | ||
ls -la ./../ui_static_files/build/ | ||
- name: Build | ||
run: | | ||
cd ui_src | ||
npm run ci-build | ||
- name: Create New Branch | ||
run: | | ||
git checkout -b ui-build-files-${{ github.run_id }} | ||
- name: List Root Directory | ||
run: | | ||
pwd | ||
- name: List Root Directory Contents | ||
run: | | ||
ls -l ./ | ||
- name: List Build Directory Contents | ||
run: | | ||
ls -l ./ui_static_files/ | ||
# - name: Build | ||
# run: | | ||
# cd ui_src | ||
# npm run ci-build | ||
|
||
- name: Commit Changes | ||
run: | | ||
git config --global user.name 'teammemphis' | ||
git config --global user.email '[email protected]' | ||
git add . | ||
git add ./ui_static_files/build/* | ||
git commit -m "Build UI Static Files" -a || echo "No changes to commit" | ||
- name: Push Changes | ||
|