Skip to content

Commit becd991

Browse files
Use self-hosted runner instead of SSH
1 parent 62d1b08 commit becd991

1 file changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,15 @@ on:
88

99
jobs:
1010
deploy:
11-
runs-on: ubuntu-latest
11+
runs-on: self-hosted
1212
name: Deploy Docs
1313

1414
steps:
15-
- name: Deploy to Primary Server
16-
uses: appleboy/ssh-action@v1.0.3
17-
with:
18-
host: ${{ secrets.DEPLOY_HOST }}
19-
username: ${{ secrets.DEPLOY_USER }}
20-
key: ${{ secrets.DEPLOY_KEY }}
21-
port: 22
22-
script: |
23-
echo "Starting docs deployment..."
24-
/opt/Lokus-Prod/scripts/deploy-docs.sh
25-
echo "Deployment complete!"
15+
- name: Deploy Docs
16+
run: |
17+
echo "Starting docs deployment..."
18+
/opt/Lokus-Prod/scripts/deploy-docs.sh
19+
echo "Deployment complete!"
2620
2721
- name: Discord Notification
2822
if: always()

0 commit comments

Comments
 (0)