1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00
This commit is contained in:
Gabor Kiss-Vamosi 2021-04-29 10:15:29 +02:00
commit 1797fe29f0

View File

@ -5,6 +5,7 @@ on:
- master - master
jobs: jobs:
build-and-deploy: build-and-deploy:
if: github.repository == 'lvgl/lvgl'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
@ -23,6 +24,8 @@ jobs:
pip install --upgrade --upgrade-strategy eager sphinx recommonmark commonmark breathe sphinx-rtd-theme sphinx-markdown-tables sphinx-sitemap pip install --upgrade --upgrade-strategy eager sphinx recommonmark commonmark breathe sphinx-rtd-theme sphinx-markdown-tables sphinx-sitemap
- name: Build docs - name: Build docs
run: docs/build.py run: docs/build.py
- name: Remove .doctrees
run: rm -rf out_html/.doctrees
- name: Retrieve version - name: Retrieve version
run: | run: |
echo "::set-output name=VERSION_NAME::$(scripts/find_version.sh)" echo "::set-output name=VERSION_NAME::$(scripts/find_version.sh)"
@ -37,3 +40,4 @@ jobs:
FOLDER: out_html # The folder the action should deploy. FOLDER: out_html # The folder the action should deploy.
TARGET_FOLDER: ${{ steps.version.outputs.VERSION_NAME }} TARGET_FOLDER: ${{ steps.version.outputs.VERSION_NAME }}
PRESERVE: true PRESERVE: true
SINGLE_COMMIT: true