Script to fetch unrealircd releases (#4)
unrealircd: 6.0.3 elasticsearch: 8.2.0 laravel: 8.83.11, 9.11.0
This commit is contained in:
5
.github/workflows/update.yml
vendored
5
.github/workflows/update.yml
vendored
@@ -1,5 +1,6 @@
|
||||
name: Update Data
|
||||
on:
|
||||
push:
|
||||
schedule:
|
||||
# Run 4 times a day (every 6 hours)
|
||||
# At minute 17 past hour 0, 6, 12, and 18
|
||||
@@ -38,9 +39,11 @@ jobs:
|
||||
bundler-cache: true
|
||||
- name: Update Release data
|
||||
run: |
|
||||
mkdir -p ~/.cache/{npm,git,oci} releases/{npm,git,oci} && \
|
||||
mkdir -p ~/.cache/{npm,git,oci} releases/{npm,git,oci,custom} && \
|
||||
git config --global init.defaultBranch main
|
||||
git config --global extensions.partialClone true
|
||||
pip install -r requirements.txt
|
||||
python src/unrealircd.py
|
||||
bundle exec ruby update.rb ./website ~/.cache releases
|
||||
id: update_releases
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
|
||||
Reference in New Issue
Block a user