Skip to content

fix(cmd): version throw panic and not returning the version (#20) #17

fix(cmd): version throw panic and not returning the version (#20)

fix(cmd): version throw panic and not returning the version (#20) #17

Workflow file for this run

name: docs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- 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 "[email protected]"
git config --global user.name "anshuman-gojek"
yarn deploy