Skip to content

Commit

Permalink
ci: fix it again
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Dec 21, 2024
1 parent 6948849 commit 9f88dbe
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- "*"

env:
DOCKER_HOST: ssh://root@95.217.237.232
DOCKER_HOST: ssh://root@darkbot

jobs:
test:
Expand Down Expand Up @@ -53,6 +53,13 @@ jobs:
echo "${{ secrets.SSH_KEY_BASE64 }}" | base64 --decode > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
chmod 700 ~/.ssh
echo <<EOT >> ~/.ssh/config
Host darkbot
HostName 95.217.237.232
User root
IdentityFile ~/.ssh/id_rsa
IdentitiesOnly yes
EOT
- name: Build image
run: docker build --tag darkwind8/darkbot:$SOURCE_NAME .
Expand Down

0 comments on commit 9f88dbe

Please sign in to comment.