-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (31 loc) · 1.03 KB
/
fgd-update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Update TrenchBroom FGD
on:
schedule:
- cron: 0 8 * * *
workflow_dispatch:
jobs:
Do-The-Thing:
runs-on: ubuntu-latest
container:
image: sharkwouter/pspdev
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Get apt ready
run: |
apt update
apt install -y wget
- name: Download FGD
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
cd $GITHUB_WORKSPACE
rm -f tb-nzp.fgd
wget -nc https://raw.githubusercontent.com/nzp-team/assets/main/source/maps/fgd/tb-nzp.fgd
- name: Commit and Push
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update TrenchBroom FGD
branch: main
commit_user_name: Awesome NZ:P Updater Bot
commit_user_email: [email protected]