Skip to content

Update yarn to 4.5.2 #13

Update yarn to 4.5.2

Update yarn to 4.5.2 #13

name: Build Documentation
on:
push:
branches: [ latest, legacy ]
pull_request:
branches: [ latest, legacy ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up NodeJS 16
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: yarn
- name: Build documentation
run: yarn docs
- name: Update repository
run: |
git config pull.rebase false
git pull
git add .
git config --global user.name "Danang Galuh Tegar Prasetyo"
git config --global user.email "[email protected]"
git commit -m "[GitHub Actions Automated] Update documentation"
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}