Merge pull request #32 from suraj-webkul/remove-imap-from-2.0 #26
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: Deploy to GitHub pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish-docs: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/actions/checkout | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: NPM install 📦 | |
uses: bahmutov/npm-install@v1 | |
- name: Build docs 🏗 | |
run: export NODE_OPTIONS=--openssl-legacy-provider && npm run docs:build --no-cache | |
# https://github.com/marketplace/actions/github-pages-action | |
- name: Deploy 🚀 | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/.vuepress/dist | |
cname: devdocs.krayincrm.com |