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 | |
| # Run on the droplet as root (DigitalOcean web console or SSH). | |
| # Repo is PRIVATE — set GITHUB_TOKEN before running (classic PAT with repo scope). | |
| # | |
| # export GITHUB_TOKEN="ghp_xxxxxxxx" | |
| # bash bootstrap-droplet-console.sh | |
| # | |
| # Or paste this entire file into the console after exporting GITHUB_TOKEN. | |
| set -euo pipefail |