mirror of
https://github.com/status-im/actions-gh-pages.git
synced 2025-02-24 02:38:06 +00:00
ci: use github_token for windows-latest
This commit is contained in:
parent
ce8c273a61
commit
cfdf8c43ed
25
.github/workflows/test-action.yml
vendored
25
.github/workflows/test-action.yml
vendored
@ -63,6 +63,7 @@ jobs:
|
|||||||
echo "::set-output name=deploy_tag_name::deploy-${TAG_NAME}"
|
echo "::set-output name=deploy_tag_name::deploy-${TAG_NAME}"
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
@ -79,9 +80,21 @@ jobs:
|
|||||||
# tag_name: ${{ steps.prepare_tag.outputs.deploy_tag_name }}
|
# tag_name: ${{ steps.prepare_tag.outputs.deploy_tag_name }}
|
||||||
# tag_message: 'Deployment ${{ steps.prepare_tag.outputs.tag_name }}'
|
# tag_message: 'Deployment ${{ steps.prepare_tag.outputs.tag_name }}'
|
||||||
|
|
||||||
# - name: Deploy v2
|
- name: Deploy
|
||||||
# uses: peaceiris/actions-gh-pages@v2
|
if: matrix.os == 'windows-latest'
|
||||||
# env:
|
uses: ./
|
||||||
# ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
with:
|
||||||
# PUBLISH_BRANCH: gh-pages
|
# deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
# PUBLISH_DIR: ./test_projects/mdbook/book
|
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 }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user