auhrick updated Assigned Users #47
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Released a tag - 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: ./setup.sh | |
- name: Build WebChart HTML | |
run: ./build.sh --minify --baseURL https://docs.webchartnow.com/ wc | |
- name: Build Enterprise Health HTML | |
run: ./build.sh --minify --baseURL https://docs.enterprisehealth.com/ eh | |
- 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 }} |