Skip to content

Generate vim help #1019

Generate vim help

Generate vim help #1019

Workflow file for this run

name: Generate vim help
on:
push:
branches:
- master
schedule:
- cron: '5 12 * * *'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Initialization
run: |
sudo apt-get update
# libfuse2 and LD_PRELOAD are needed for appimage.
sudo apt-get -y install libfuse2
echo "LD_PRELOAD=/lib/x86_64-linux-gnu/libgmodule-2.0.so" >> $GITHUB_ENV
- name: checkout master
uses: actions/checkout@v4
with:
path: work
- name: Checkout gh-pages
uses: actions/checkout@v4
with:
path: target
ref: gh-pages
- name: Setup Vim
uses: thinca/action-setup-vim@v2
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@v9
with:
cwd: './target'
default_author: github_actions
message: |-
Generated by GitHub workflow ${{ github.run_id }}
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}