feat(notifiers): support multiple slack workspaces (#67) #34
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: docs | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- name: Installation | |
uses: bahmutov/npm-install@v1 | |
with: | |
install-command: yarn | |
working-directory: docs | |
- name: Build docs | |
working-directory: docs | |
run: cd docs && yarn build | |
- name: Deploy docs | |
env: | |
GIT_USER: anshuman-gojek | |
GIT_PASS: ${{ secrets.DOCU_RS_TOKEN }} | |
DEPLOYMENT_BRANCH: gh-pages | |
CURRENT_BRANCH: main | |
working-directory: docs | |
run: | | |
git config --global user.email "anshuman.srivastava@gojek.com" | |
git config --global user.name "anshuman-gojek" | |
yarn deploy |