diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 298e4247c..8453e06b5 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -63,6 +63,7 @@ jobs: echo "::set-output name=deploy_tag_name::deploy-${TAG_NAME}" - name: Deploy + if: matrix.os != 'windows-latest' uses: ./ with: deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} @@ -79,9 +80,21 @@ jobs: # tag_name: ${{ steps.prepare_tag.outputs.deploy_tag_name }} # tag_message: 'Deployment ${{ steps.prepare_tag.outputs.tag_name }}' - # - name: Deploy v2 - # uses: peaceiris/actions-gh-pages@v2 - # env: - # ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} - # PUBLISH_BRANCH: gh-pages - # PUBLISH_DIR: ./test_projects/mdbook/book + - name: Deploy + if: matrix.os == 'windows-latest' + uses: ./ + with: + # deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} + # personal_token: ${{ secrets.PERSONAL_TOKEN }} + # publish_branch: gh-pages + publish_dir: ./test_projects/mdbook/book + # external_repository: '' + allow_empty_commit: true + # keep_files: true + # force_orphan: true + # user_name: iris + # user_email: email@peaceiris.com + # commit_message: ${{ github.event.head_commit.message }} + # tag_name: ${{ steps.prepare_tag.outputs.deploy_tag_name }} + # tag_message: 'Deployment ${{ steps.prepare_tag.outputs.tag_name }}'