ci(docs): attempt to fix after upgrading to v4 action

This commit is contained in:
Gabor Kiss-Vamosi
2023-10-26 19:42:07 +02:00
committed by GitHub
parent 8ee00aa4f1
commit b6fc8d7f62

View File

@@ -67,27 +67,23 @@ jobs:
- name: Deploy to subfolder - name: Deploy to subfolder
uses: JamesIves/github-pages-deploy-action@v4.4.3 uses: JamesIves/github-pages-deploy-action@v4.4.3
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.LVGL_BOT_TOKEN }}
ACCESS_TOKEN: ${{ secrets.LVGL_BOT_TOKEN }} repository-name: lvgl/docs
REPOSITORY_NAME: lvgl/docs branch: gh-pages # The branch the action should deploy to.
BRANCH: gh-pages # The branch the action should deploy to. 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 }} git-config-name: lvgl-bot
GIT_CONFIG_NAME: lvgl-bot git-config-email: lvgl-bot@users.noreply.github.com
GIT_CONFIG_EMAIL: lvgl-bot@users.noreply.github.com single-commit: true
PRESERVE: true
SINGLE_COMMIT: true
- name: Deploy to master - name: Deploy to master
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
uses: JamesIves/github-pages-deploy-action@v4.4.3 uses: JamesIves/github-pages-deploy-action@v4.4.3
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.LVGL_BOT_TOKEN }}
ACCESS_TOKEN: ${{ secrets.LVGL_BOT_TOKEN }} repository-name: lvgl/docs
REPOSITORY_NAME: lvgl/docs branch: gh-pages # The branch the action should deploy to.
BRANCH: gh-pages # The branch the action should deploy to. folder: out_html # The folder the action should deploy.
FOLDER: out_html # The folder the action should deploy. target-folder: master
TARGET_FOLDER: master git-config-name: lvgl-bot
GIT_CONFIG_NAME: lvgl-bot git-config-emai: lvgl-bot@users.noreply.github.com
GIT_CONFIG_EMAIL: lvgl-bot@users.noreply.github.com commit: true
PRESERVE: true
SINGLE_COMMIT: true