Przeglądaj źródła

Default Pi deploy branch to master

master
Daniel Covington 1 tydzień temu
rodzic
commit
4ef4cf1606
2 zmienionych plików z 2 dodań i 2 usunięć
  1. +1
    -1
      docs/deploy-raspberry-pi.md
  2. +1
    -1
      scripts/deploy-raspi.sh

+ 1
- 1
docs/deploy-raspberry-pi.md Wyświetl plik

@@ -42,7 +42,7 @@ Arguments:
## Useful environment overrides

```bash
DEPLOY_REF=main \
DEPLOY_REF=master \
DEPLOY_PATH=/var/www/warehouse \
scripts/deploy-raspi.sh pi raspberrypi.local git@github.com:YOUR_USER/warehouse.git DietPi.ntp.kentcommunications.com
```


+ 1
- 1
scripts/deploy-raspi.sh Wyświetl plik

@@ -11,7 +11,7 @@ ssh_host="$2"
repo_url="$3"
domain="${4:-DietPi.ntp.kentcommunications.com}"
deploy_path="${DEPLOY_PATH:-/var/www/warehouse}"
deploy_ref="${DEPLOY_REF:-main}"
deploy_ref="${DEPLOY_REF:-master}"

ssh "${ssh_user}@${ssh_host}" bash -s -- "$repo_url" "$domain" "$deploy_path" "$deploy_ref" <<'REMOTE'
set -euo pipefail


Ładowanie…
Anuluj
Zapisz

Powered by TurnKey Linux.