Skip to content

Commit

Permalink
Merge pull request #1621 from watchdogpolska/PiotrIw-patch-3
Browse files Browse the repository at this point in the history
Add regenerate frontend with gulp to web.yml
  • Loading branch information
PiotrIw authored Dec 13, 2024
2 parents d299853 + 92aef2e commit 91e728a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,26 @@ jobs:
run: make check
- name: Show settings
run: make settings

- name: Regenerate frontend with gulp service
run: |
docker compose -f docker-compose.yml up -d gulp
docker compose -f docker-compose.yml logs gulp
docker compose -f docker-compose.yml stop gulp
- name: Check for Changes in Static Files
run: |
if ! git diff --quiet poradnia/static/; then
echo "Static files updated. Preparing to commit changes."
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git add poradnia/static/
git commit -m "Update static files after dependency change"
git push origin HEAD:${{ github.event.pull_request.head.ref }}
else
echo "No changes in static files."
fi
- name: Run unit tests
run: make test
- name: Run e2e tests
Expand Down

0 comments on commit 91e728a

Please sign in to comment.