Merge pull request #226 from oclif/dependabot/npm_and_yarn/website/po… #91
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
# test | |
name: build-docs | |
on: | |
push: | |
branches: [docs] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- uses: oclif/github-workflows/.github/actions/gitConfig@main | |
- name: doc build | |
env: | |
GIT_USER: svc-cli-bot | |
GIT_PASS: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }} | |
working-directory: website | |
run: | | |
yarn install | |
echo "machine github.com login svc-cli-bot password ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}" > ~/.netrc | |
yarn deploy |