Skip to content

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: yarn install
- name: Build
run: yarn typedoc
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs
- name: Notification
if: always()
id: slack
uses: wingify/[email protected]
with:
channel-id: 'vwo-fs-fme-sdk-job-status'
slack-message: "<!here> Node.js FME SDK documentation has been updated. Check it out at https://wingify.github.io/vwo-fme-node-sdk"
color: "${{job.status == 'success' && '#00FF00' || '#FF0000'}}"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}