parent
f897b32999
commit
3c935ed56e
2 changed files with 7 additions and 6 deletions
|
|
@ -140,9 +140,9 @@ jobs:
|
||||||
working-directory: e2e
|
working-directory: e2e
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ inputs.browser }}" = "all" ]; then
|
if [ "${{ inputs.browser }}" = "all" ]; then
|
||||||
npm test
|
npm test -- --workers=10
|
||||||
else
|
else
|
||||||
npm test -- --project=${{ inputs.browser }}
|
npm test -- --workers=10 --project=${{ inputs.browser }}
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,9 @@ jobs:
|
||||||
ssh-keyscan -H 204.110.191.231 >> ~/.ssh/known_hosts
|
ssh-keyscan -H 204.110.191.231 >> ~/.ssh/known_hosts
|
||||||
# Clear stale deploy lock from cancelled runs
|
# Clear stale deploy lock from cancelled runs
|
||||||
ssh dokku@204.110.191.231 apps:unlock towerops || true
|
ssh dokku@204.110.191.231 apps:unlock towerops || true
|
||||||
git remote add dokku dokku@204.110.191.231:towerops || true
|
# Remove existing remote and re-add to ensure clean state
|
||||||
git fetch dokku || true
|
git remote remove dokku 2>/dev/null || true
|
||||||
# Deploy the PR branch to staging
|
git remote add dokku dokku@204.110.191.231:towerops
|
||||||
git push dokku HEAD:main --force
|
# Deploy the PR branch to staging (force push to override any conflicts)
|
||||||
|
git push dokku HEAD:refs/heads/main --force
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue