This repository was archived by the owner on Jul 28, 2026. It is now read-only.
fix: include all required fields (allocation, feature_limits) in buil… #192
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Beta | |
| on: | |
| push: | |
| branches: [beta] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: SSH and deploy | |
| uses: appleboy/ssh-action@v1.2.0 | |
| with: | |
| host: ${{ secrets.SSH_HOST }} | |
| username: ${{ secrets.SSH_USER }} | |
| password: ${{ secrets.SSH_PASSWORD }} | |
| port: ${{ secrets.SSH_PORT || 22 }} | |
| script: | | |
| cd ${{ secrets.BETA_PATH }} | |
| cp .env /tmp/beta.env 2>/dev/null; cp port.txt /tmp/beta.port.txt 2>/dev/null | |
| git fetch origin --prune | |
| git checkout beta | |
| git reset --hard origin/beta | |
| cp /tmp/beta.env .env 2>/dev/null; cp /tmp/beta.port.txt port.txt 2>/dev/null | |
| grep 'discord.zero-host.org' public/js/app.js || echo "⚠ DISCORD LINK NOT FOUND IN FILE" | |
| head -20 port.txt 2>/dev/null || echo "⚠ port.txt missing or empty" | |
| npm install | |
| pm2 restart beta |