Merge pull request #1 from Zly-u/ItemsEditing/ExtendStretchToNextItem #11
This file contains 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 index.xml to master | |
on: | |
push: | |
branches: [master] | |
jobs: | |
reapack-index: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Configure git | |
run: |- | |
git config user.name 'ReaTeam Bot' | |
git config user.email '[email protected]' | |
- 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 |