ci: migrate to actions/checkout@v4 #100
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 | |
on: | |
push: | |
branches: [master] | |
jobs: | |
reapack-index: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch repository | |
uses: actions/checkout@v4 | |
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 --pre | |
- name: Update index.xml | |
run: reapack-index --commit | |
- name: Push changes | |
run: git push |