This commit is contained in:
@@ -44,6 +44,7 @@ jobs:
|
||||
chmod 600 ~/.ssh/id_ed25519
|
||||
|
||||
ssh-keyscan -H alpha.mintel.me >> ~/.ssh/known_hosts 2>/dev/null
|
||||
chmod 644 ~/.ssh/known_hosts
|
||||
|
||||
# Create .env file for remote deployment
|
||||
echo "NEXT_PUBLIC_UMAMI_WEBSITE_ID=${{ secrets.NEXT_PUBLIC_UMAMI_WEBSITE_ID }}" > .env.remote
|
||||
@@ -52,9 +53,9 @@ jobs:
|
||||
echo "REDIS_KEY_PREFIX=${{ secrets.REDIS_KEY_PREFIX }}" >> .env.remote
|
||||
|
||||
# Copy .env file to remote server
|
||||
scp -o StrictHostKeyChecking=accept-new -i ~/.ssh/id_ed25519 .env.remote deploy@alpha.mintel.me:/home/deploy/sites/klz-cables.com/.env
|
||||
scp -v -o StrictHostKeyChecking=accept-new -i ~/.ssh/id_ed25519 .env.remote deploy@alpha.mintel.me:/home/deploy/sites/klz-cables.com/.env
|
||||
|
||||
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/id_ed25519 deploy@alpha.mintel.me << 'EOF'
|
||||
ssh -v -o StrictHostKeyChecking=accept-new -i ~/.ssh/id_ed25519 deploy@alpha.mintel.me << 'EOF'
|
||||
docker login registry.infra.mintel.me \
|
||||
-u "${{ secrets.REGISTRY_USER }}" \
|
||||
-p "${{ secrets.REGISTRY_PASS }}"
|
||||
|
||||
Reference in New Issue
Block a user