Skip to content

Override shortcode for youtube #362

Override shortcode for youtube

Override shortcode for youtube #362

Workflow file for this run

name: Deploy to Production
on:
push:
tags:
- '*'
jobs:
build:
# The type of runner that the job will run on
runs-on: [ self-hosted, docsqa ]
steps:
- uses: actions/checkout@v4
with:
token: ${{ github.token }}
lfs: 'true'
clean: 'true'
fetch-depth: 0
- name: Pull NPM Dependencies
run: |
npm ci
- name: Generate menu
run: mkdir -p config/_default/; cat content/navigation.md | ./navigation2menu.js > config/_default/menu.en.json
# Build the HTML versions of the md using hugo
- name: Build WebChart HTML
run: hugo --config 'config-wc.toml' --minify --baseURL https://docs.webchartnow.com/
- name: Build Enterprise Health HTML
run: hugo --config 'config-eh.toml' --minify --baseURL https://docs.enterprisehealth.com/
- name: 'Deploy built documentation to production folder'
run: |
rsync -ruva public [email protected]:/www/docrootssl/docs
- name: Rocket.Chat Notification
uses: wreiske/[email protected]
if: always()
with:
type: ${{ job.status }}
job_name: '*Publish to Production*'
mention: 'here'
channel: '#miedocs'
url: ${{ secrets.ROCKETCHAT_WEBHOOK }}
commit: true
token: ${{ github.token }}