Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Generate vim help
on:
push:
branches:
- master
workflow_dispatch:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

workflow_dispatch は必要ないですよね?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

手動生成できるので、動作確認にいいかなと思いましたが、削除しますか?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

どういう使い方を想定されていますか?
最新のを実行し直すだけなら、最新のscheduled buildをre-runしても良さそうですが。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

そうですね...
re-runとしてではなく、新規にrunしたほうがいい場合があるかなと思ったというのはありますが、差がないですね。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

まー、re-runだと前のログが消えてしまうという問題はありますが…

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あー、いまさら & このリポジトリだと意味がないのですが、思いだしました。

GitHub workflowのcronは、リポジトリ更新がないと60日で止るのですが
再開時に即座に更新を手動でしたいならあったほうがいいかな、的に考えてました。

まあ、不要なのは変りませんね(Vimの状況からすると)

schedule:
- cron: '5 12 * * *'

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout master
uses: actions/checkout@v2
with:
path: work
- name: Checkout gh-pages
uses: actions/checkout@v2
with:
path: target
ref: gh-pages
- name: Setup Vim
uses: thinca/action-setup-vim@v1
with:
vim_version: 'v8.2.0020'
vim_type: 'Vim'
- name: Generate new document
run: |
cd work
# Create html documents
make html

cd ..
# install
cp work/target/html/doc/*.html target
- name: Commit updated master branch
uses: EndBug/add-and-commit@v7
with:
cwd: './target'
author_name: '${{ github.actor }}'
author_email: '${{ github.actor }}@users.noreply.github.com'
message: |-
Generated by GitHub workflow ${{ github.run_id }}

https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
branch: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.VIMDOC_JP_TOKEN }}
Comment on lines +48 to +49
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

この行、もしかして不要ですか?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ですね、すみません。

18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

Binary file removed tools/ci@vimdoc-en.vim-jp.org.enc
Binary file not shown.
25 changes: 0 additions & 25 deletions tools/deploy-gh-pages.sh

This file was deleted.

14 changes: 0 additions & 14 deletions tools/install_sshkey_github.sh

This file was deleted.