From b6fc8d7f62f2b1acc9bb6fda5ae4d6fe6241e8ef Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 26 Oct 2023 19:42:07 +0200 Subject: [PATCH] ci(docs): attempt to fix after upgrading to v4 action --- .github/workflows/compile_docs.yml | 36 +++++++++++++----------------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/.github/workflows/compile_docs.yml b/.github/workflows/compile_docs.yml index db2d4d775..c5dd62c9f 100644 --- a/.github/workflows/compile_docs.yml +++ b/.github/workflows/compile_docs.yml @@ -67,27 +67,23 @@ jobs: - name: Deploy to subfolder uses: JamesIves/github-pages-deploy-action@v4.4.3 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ACCESS_TOKEN: ${{ secrets.LVGL_BOT_TOKEN }} - REPOSITORY_NAME: lvgl/docs - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: out_html # The folder the action should deploy. - TARGET_FOLDER: ${{ steps.version.outputs.VERSION_NAME }} - GIT_CONFIG_NAME: lvgl-bot - GIT_CONFIG_EMAIL: lvgl-bot@users.noreply.github.com - PRESERVE: true - SINGLE_COMMIT: true + token: ${{ secrets.LVGL_BOT_TOKEN }} + repository-name: lvgl/docs + branch: gh-pages # The branch the action should deploy to. + folder: out_html # The folder the action should deploy. + target-folder: ${{ steps.version.outputs.VERSION_NAME }} + git-config-name: lvgl-bot + git-config-email: lvgl-bot@users.noreply.github.com + single-commit: true - name: Deploy to master if: github.ref == 'refs/heads/master' uses: JamesIves/github-pages-deploy-action@v4.4.3 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ACCESS_TOKEN: ${{ secrets.LVGL_BOT_TOKEN }} - REPOSITORY_NAME: lvgl/docs - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: out_html # The folder the action should deploy. - TARGET_FOLDER: master - GIT_CONFIG_NAME: lvgl-bot - GIT_CONFIG_EMAIL: lvgl-bot@users.noreply.github.com - PRESERVE: true - SINGLE_COMMIT: true + token: ${{ secrets.LVGL_BOT_TOKEN }} + repository-name: lvgl/docs + branch: gh-pages # The branch the action should deploy to. + folder: out_html # The folder the action should deploy. + target-folder: master + git-config-name: lvgl-bot + git-config-emai: lvgl-bot@users.noreply.github.com + commit: true