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
| #!/bin/bash | |
| # Tipos full server setup — non-interactive, runs as root. | |
| # Required env vars: | |
| # GH_TOKEN — GitHub token with repo read access (passed from CI) | |
| # GH_REPO — owner/repo (e.g. enisoru/tipos) | |
| # Idempotent: safe to re-run. | |
| set -euo pipefail | |
| : "${GH_TOKEN:?GH_TOKEN env var required}" |