Skip to content

Commit 37285db

Browse files
committed
Prepare for reapack
1 parent 0bdfb48 commit 37285db

19 files changed

+51
-0
lines changed

.github/workflows/check.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: check
2+
on: [push, pull_request]
3+
jobs:
4+
reapack-index:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Fetch repository
8+
uses: actions/checkout@v4
9+
- name: Install Pandoc
10+
run: sudo apt-get install -yy pandoc
11+
- name: Set up Ruby
12+
uses: ruby/setup-ruby@v1
13+
with:
14+
ruby-version: 3.2
15+
- name: Install reapack-index
16+
run: gem install reapack-index
17+
- name: Validate packages
18+
run: reapack-index --check

.github/workflows/deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: deploy
2+
on:
3+
push:
4+
branches: [master]
5+
jobs:
6+
reapack-index:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Fetch repository
10+
uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
- name: Configure git
14+
run: |-
15+
git config user.name 'ReaTeam Bot'
16+
git config user.email '[email protected]'
17+
- name: Install Pandoc
18+
run: sudo apt-get install -yy pandoc
19+
- name: Set up Ruby
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: 3.2
23+
- name: Install reapack-index
24+
run: gem install reapack-index
25+
- name: Update index.xml
26+
run: reapack-index --commit
27+
- name: Push changes
28+
run: git push

0 commit comments

Comments
 (0)