Skip to content

Commit

Permalink
build file fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
otabek-memphis committed Dec 3, 2023
1 parent e02bc77 commit d4aba07
Showing 1 changed file with 14 additions and 25 deletions.
39 changes: 14 additions & 25 deletions .github/workflows/ui_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4aba07

Please sign in to comment.