Simplify CI/CD clone process: Remove all complexity
Some checks failed
BotServer CI/CD / build (push) Has been cancelled
Some checks failed
BotServer CI/CD / build (push) Has been cancelled
- Simple clean, clone, submodule update - /home/gbuser/target preserved separately 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6b245dd690
commit
5e3334ae7f
1 changed files with 0 additions and 3 deletions
|
|
@ -27,12 +27,9 @@ jobs:
|
||||||
- name: Clean and Clone Fresh
|
- name: Clean and Clone Fresh
|
||||||
run: |
|
run: |
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
# Remove old workspace, keep /home/gbuser/target for compilation cache
|
|
||||||
rm -rf gb-ws
|
rm -rf gb-ws
|
||||||
# Fresh clone with full history
|
|
||||||
git clone --branch main https://alm.pragmatismo.com.br/GeneralBots/gb.git gb-ws
|
git clone --branch main https://alm.pragmatismo.com.br/GeneralBots/gb.git gb-ws
|
||||||
cd gb-ws
|
cd gb-ws
|
||||||
# Initialize submodules
|
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
mkdir -p /home/gbuser/target
|
mkdir -p /home/gbuser/target
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue