Document dependencies #37
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: | |
- main | |
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 'reateam-bot@cfillion.ca' | |
- 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 |