diff --git a/.github/workflows/compile_docs.yml b/.github/workflows/compile_docs.yml index cd8a42250a..515cd6b804 100644 --- a/.github/workflows/compile_docs.yml +++ b/.github/workflows/compile_docs.yml @@ -78,7 +78,7 @@ jobs: echo "::set-output name=VERSION_NAME::$(scripts/find_version.sh)" id: version - name: Deploy to subfolder - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }} uses: JamesIves/github-pages-deploy-action@v4.7.3 with: token: ${{ secrets.LVGL_BOT_TOKEN }}