Skip to content

Use self-hosted runner instead of SSH #4

Use self-hosted runner instead of SSH

Use self-hosted runner instead of SSH #4

Workflow file for this run

name: Deploy Docs to Production
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: self-hosted
name: Deploy Docs
steps:
- name: Deploy Docs
run: |
echo "Starting docs deployment..."
/opt/Lokus-Prod/scripts/deploy-docs.sh
echo "Deployment complete!"
- name: Discord Notification
if: always()
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
status: ${{ job.status }}
title: "Docs Deployment"
description: |
Commit: ${{ github.sha }}
Branch: ${{ github.ref_name }}
By: ${{ github.actor }}
url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}