mirror of
https://github.com/InsanusMokrassar/docs.git
synced 2024-11-22 16:24:00 +00:00
fix in github workflows
fix in github workflows fix in github workflows
This commit is contained in:
parent
b08ddfea84
commit
fe91bd17a6
43
.github/workflows/publish.yml
vendored
43
.github/workflows/publish.yml
vendored
@ -2,26 +2,27 @@ name: Build and publish
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branch:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
jobs:
|
||||||
|
publishing:
|
||||||
steps:
|
runs-on: ubuntu-latest
|
||||||
- uses: actions/checkout@v3
|
steps:
|
||||||
- name: Setup Python
|
- uses: actions/checkout@v3
|
||||||
uses: actions/setup-python@v4
|
- name: Setup Python
|
||||||
with:
|
uses: actions/setup-python@v4
|
||||||
python-version: '3.10'
|
with:
|
||||||
- name: Install dependencies
|
python-version: '3.10'
|
||||||
run: |
|
- name: Install dependencies
|
||||||
python -m pip install --upgrade pip
|
run: |
|
||||||
pip install mkdocs markdown-callouts mkdocs-autorefs mkdocs-include-dir-to-nav mkdocs-material
|
python -m pip install --upgrade pip
|
||||||
- name: Build
|
pip install mkdocs markdown-callouts mkdocs-autorefs mkdocs-include-dir-to-nav mkdocs-material
|
||||||
run: mkdocs build
|
- name: Build
|
||||||
- name: Publish
|
run: mkdocs build
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
- name: Publish
|
||||||
with:
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
with:
|
||||||
publish_dir: ./site
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_branch: site
|
publish_dir: ./site
|
||||||
|
publish_branch: site
|
Loading…
Reference in New Issue
Block a user