Cleanup index.xml duplicate changelogs #43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: deploy | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| reapack-index: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Configure git | |
| run: |- | |
| git config user.name 'GitHub Actions' | |
| git config user.email 'actions@github.com' | |
| - name: Install Pandoc | |
| run: sudo apt-get install -yy pandoc | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2 | |
| - name: Install reapack-index | |
| run: gem install reapack-index | |
| - name: Update index.xml | |
| run: reapack-index --commit | |
| - name: Push changes | |
| run: git push |