Skip to content

Add files via upload #34

Add files via upload

Add files via upload #34

Workflow file for this run

name: Docs Builder
on:
push:
branches:
- master
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: 🎏 Fetch repo
uses: actions/checkout@master
with:
fetch-depth: 1
- name: ✨ Build docs
run: |
cd ${GITHUB_WORKSPACE}/
npm i
npm i typescript -g
npm run docs
- name: 🚀 Deploy
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add .
git commit -am "chore: Builded docs"
git push --all -f https://${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git