mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
Test with all environment variables set correctly lol
This commit is contained in:
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@@ -15,11 +15,12 @@ jobs:
|
||||
- name: Set up SSH key
|
||||
env:
|
||||
DEPLOY_KEY: ${{secrets.DEPLOY_KEY}}
|
||||
REMOTE_HOST: ${{ secrets.REMOTE_HOST}}
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "$DEPLOY_KEY" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan -H your.remote.server.com >> ~/.ssh/known_hosts
|
||||
ssh-keyscan -H $REMOTE_HOST >> ~/.ssh/known_hosts
|
||||
|
||||
- name: Deploy with Docker Compose
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user