Skip to content

Commit

Permalink
Add git diff in CI for easier debugging of PR preview builds
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Dec 15, 2023
1 parent c256df1 commit bc949cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
run: |
# Use relative paths for the PR preview build
sed -i "s|vite build --base '/'|vite build --base './'|" package.json
echo "===== DEBUG ====="
git diff
echo "===== END ====="
- name: Preview build configuration - Use 'development' mode
# WARNING: may affect app functionality compared to a production build!
Expand All @@ -29,6 +32,9 @@ jobs:
# Specify development mode which activates the CreditcoinLocal network in the menu,
# which in turn enables testing the PR preview build with a locally running creditcoin3-node
sed -i "s|vite build|vite build --mode development|" package.json
echo "===== DEBUG ====="
git diff
echo "===== END ====="
- name: Build docker image
run: |
Expand Down

0 comments on commit bc949cb

Please sign in to comment.