From badd96dab94e707628ae4245acb81929cfcee9bf Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Fri, 19 Jan 2024 20:17:00 -0800 Subject: [PATCH] Update Build and Deploy action Make some changes because a new version of JamesIves/github-pages-deploy-action is used now. --- .github/workflows/docs.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e4452b9f6f9..49d564b36b3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,10 +29,9 @@ jobs: if: github.event_name == 'push' && github.repository == 'AMReX-Codes/amrex' && github.ref == 'refs/heads/development' uses: JamesIves/github-pages-deploy-action@v4.5.0 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ACCESS_TOKEN: ${{ secrets.DEPLOY_DOCS }} - REPOSITORY_NAME: AMReX-Codes/AMReX-Codes.github.io - BRANCH: main # The branch the action should deploy to. - FOLDER: build # The folder the action should deploy. - TARGET_FOLDER: amrex # The folder the action should deploy to. - CLEAN: false # Do not remove existing files from the deploy target. + ssh-key: ${{ secrets.AMREX_BUILD_DOCS }} + repository-name: AMReX-Codes/AMReX-Codes.github.io + branch: main # The branch the action should deploy to. + folder: build # The folder the action should deploy. + target-folder: amrex # The folder the action should deploy to. + clean: false # Do not remove existing files from the deploy target.