diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml deleted file mode 100644 index b0321a0..0000000 --- a/.github/workflows/generate.yml +++ /dev/null @@ -1,59 +0,0 @@ -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: 'v9.1.0065' - 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: Check commit IDs - id: commitid - run: | - echo "vim=$(git -C work/vim rev-parse HEAD)" >> $GITHUB_OUTPUT - echo "vim_faq=$(git -C work/vim_faq rev-parse HEAD)" >> $GITHUB_OUTPUT - - name: Commit updated gh-pages 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 }} - - Used commits: - https://github.com/vim/vim/commit/${{ steps.commitid.outputs.vim }} - https://github.com/chrisbra/vim_faq/commit/${{ steps.commitid.outputs.vim_faq }} diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml index b67c790..4735aea 100644 --- a/.github/workflows/trigger.yml +++ b/.github/workflows/trigger.yml @@ -9,10 +9,6 @@ jobs: steps: - name: Enable each workflow run: | - curl -i -X PUT \ - -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \ - -H "Accept: application/vnd.github.v3+json" \ - 'https://api.github.com/repos/vim-jp/vimdoc-en/actions/workflows/generate.yml/enable' curl -i -X PUT \ -H 'Authorization: token ${{ secrets.GITHUB_TOKEN }}' \ -H "Accept: application/vnd.github.v3+json" \