Skip to content

Commit e4a9b93

Browse files
JOYclaude
andcommitted
ci: Add beta deploy job with self-hosted runner on WSL2
- Add deploy-beta job using self-hosted runner (label: beta) - Runner pulls latest from repo, restarts docker compose locally - Update beta env files: add total_operational_txs, HAS_USER_OPS, enable Account Abstraction microservice, fix port 8050→8090 - Add 'beta' option to workflow_dispatch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8997df4 commit e4a9b93

3 files changed

Lines changed: 938 additions & 0 deletions

File tree

.github/workflows/deploy-config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
options:
1515
- mainnet
1616
- testnet
17+
- beta
1718
- both
1819

1920
jobs:
@@ -128,3 +129,28 @@ jobs:
128129
rm -rf $SRC
129130
130131
echo "Testnet deploy complete!"
132+
133+
deploy-beta:
134+
if: >
135+
github.event_name == 'push' ||
136+
(github.event_name == 'workflow_dispatch' &&
137+
(inputs.environment == 'beta' || inputs.environment == 'both'))
138+
runs-on: [self-hosted, beta]
139+
environment: beta
140+
steps:
141+
- name: Pull latest and restart services
142+
run: |
143+
set -e
144+
REPO=$HOME/Projects/DOScan
145+
DEPLOY=$REPO/docker-compose
146+
147+
# Pull latest changes
148+
cd $REPO
149+
git pull origin main
150+
151+
# Restart beta compose
152+
cd $DEPLOY
153+
docker compose -f docker-compose-beta.yml -p doscan pull
154+
docker compose -f docker-compose-beta.yml -p doscan up -d --remove-orphans
155+
156+
echo "Beta deploy complete!"

0 commit comments

Comments
 (0)