Skip to content

Commit d3eab00

Browse files
authored
Merge pull request #992 from vim-jp/use-deploy-key-to-deploy
Use deploy key to deploy to vimdoc-ja
2 parents feed2fa + d39ba5f commit d3eab00

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/generate.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
path: target
1919
repository: 'vim-jp/vimdoc-ja'
20-
token: ${{ secrets.VIMDOC_JA_TOKEN }}
20+
ssh-key: ${{ secrets.VIMDOC_JA_SSH_KEY }}
2121
- name: Setup Vim
2222
uses: thinca/action-setup-vim@v1
2323
with:
@@ -57,8 +57,6 @@ jobs:
5757
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
5858
branch: master
5959
pull_strategy: 'NO-PULL'
60-
env:
61-
GITHUB_TOKEN: ${{ secrets.VIMDOC_JA_TOKEN }}
6260

6361
deploy:
6462
runs-on: ubuntu-latest
@@ -72,7 +70,7 @@ jobs:
7270
with:
7371
path: target
7472
repository: 'vim-jp/vimdoc-ja'
75-
token: ${{ secrets.VIMDOC_JA_TOKEN }}
73+
ssh-key: ${{ secrets.VIMDOC_JA_SSH_KEY }}
7674
ref: gh-pages
7775
- name: Setup Vim
7876
uses: thinca/action-setup-vim@v1
@@ -111,5 +109,3 @@ jobs:
111109
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
112110
branch: gh-pages
113111
pull_strategy: 'NO-PULL'
114-
env:
115-
GITHUB_TOKEN: ${{ secrets.VIMDOC_JA_TOKEN }}

0 commit comments

Comments
 (0)