2022-09-05 21:06:15 +00:00
|
|
|
name: docs
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Deploy to gh-pages
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
2022-09-07 16:23:13 +00:00
|
|
|
ref: 'master'
|
2022-09-05 21:06:15 +00:00
|
|
|
submodules: 'recursive'
|
|
|
|
- run: |
|
|
|
|
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
|
|
|
|
- run: |
|
|
|
|
git config --global user.email "ayratin555@gmail.com"
|
|
|
|
git config --global user.name "Ayrat Badykov"
|
2022-09-07 16:23:13 +00:00
|
|
|
|
2022-09-05 21:06:15 +00:00
|
|
|
- name: Deploy docs
|
|
|
|
run: |
|
|
|
|
source ./docs/deploy.sh && build && deploy
|