mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-30 04:59:40 +00:00
fix staging deployment - remove nbg1 (#2128)
## Description: nbg1 host was removed causing the ssh-keyscan to fail which failed the deployment. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: evan
This commit is contained in:
@@ -20,7 +20,6 @@ on:
|
|||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- masters
|
- masters
|
||||||
- nbg1
|
|
||||||
- staging
|
- staging
|
||||||
- falk1
|
- falk1
|
||||||
target_subdomain:
|
target_subdomain:
|
||||||
@@ -93,7 +92,6 @@ jobs:
|
|||||||
- name: 🔑 Create SSH private key
|
- name: 🔑 Create SSH private key
|
||||||
env:
|
env:
|
||||||
SERVER_HOST_MASTERS: ${{ secrets.SERVER_HOST_MASTERS }}
|
SERVER_HOST_MASTERS: ${{ secrets.SERVER_HOST_MASTERS }}
|
||||||
SERVER_HOST_NBG1: ${{ secrets.SERVER_HOST_NBG1 }}
|
|
||||||
SERVER_HOST_FALK1: ${{ secrets.SERVER_HOST_FALK1 }}
|
SERVER_HOST_FALK1: ${{ secrets.SERVER_HOST_FALK1 }}
|
||||||
SERVER_HOST_STAGING: ${{ secrets.SERVER_HOST_STAGING }}
|
SERVER_HOST_STAGING: ${{ secrets.SERVER_HOST_STAGING }}
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
@@ -102,7 +100,6 @@ jobs:
|
|||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa
|
echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa
|
||||||
test -n "$SERVER_HOST_MASTERS" && ssh-keyscan -H "$SERVER_HOST_MASTERS" >> ~/.ssh/known_hosts
|
test -n "$SERVER_HOST_MASTERS" && ssh-keyscan -H "$SERVER_HOST_MASTERS" >> ~/.ssh/known_hosts
|
||||||
test -n "$SERVER_HOST_NBG1" && ssh-keyscan -H "$SERVER_HOST_NBG1" >> ~/.ssh/known_hosts
|
|
||||||
test -n "$SERVER_HOST_FALK1" && ssh-keyscan -H "$SERVER_HOST_FALK1" >> ~/.ssh/known_hosts
|
test -n "$SERVER_HOST_FALK1" && ssh-keyscan -H "$SERVER_HOST_FALK1" >> ~/.ssh/known_hosts
|
||||||
test -n "$SERVER_HOST_STAGING" && ssh-keyscan -H "$SERVER_HOST_STAGING" >> ~/.ssh/known_hosts
|
test -n "$SERVER_HOST_STAGING" && ssh-keyscan -H "$SERVER_HOST_STAGING" >> ~/.ssh/known_hosts
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
@@ -125,7 +122,6 @@ jobs:
|
|||||||
R2_SECRET_KEY: ${{ secrets.R2_SECRET_KEY }}
|
R2_SECRET_KEY: ${{ secrets.R2_SECRET_KEY }}
|
||||||
API_KEY: ${{ secrets.API_KEY }}
|
API_KEY: ${{ secrets.API_KEY }}
|
||||||
SERVER_HOST_MASTERS: ${{ secrets.SERVER_HOST_MASTERS }}
|
SERVER_HOST_MASTERS: ${{ secrets.SERVER_HOST_MASTERS }}
|
||||||
SERVER_HOST_NBG1: ${{ secrets.SERVER_HOST_NBG1 }}
|
|
||||||
SERVER_HOST_FALK1: ${{ secrets.SERVER_HOST_FALK1 }}
|
SERVER_HOST_FALK1: ${{ secrets.SERVER_HOST_FALK1 }}
|
||||||
SERVER_HOST_STAGING: ${{ secrets.SERVER_HOST_STAGING }}
|
SERVER_HOST_STAGING: ${{ secrets.SERVER_HOST_STAGING }}
|
||||||
SSH_KEY: ~/.ssh/id_rsa
|
SSH_KEY: ~/.ssh/id_rsa
|
||||||
|
|||||||
Reference in New Issue
Block a user