-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 823 Bytes
/
deploy.yml
File metadata and controls
32 lines (28 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 }}