-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 1.06 KB
/
datamine.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
33
34
35
36
37
38
39
40
41
42
43
44
name: Update Datamine
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install zsh
run: sudo apt-get update; sudo apt-get install zsh -y
- name: Fetch and process Datamine
shell: zsh {0}
run: |
git clone --depth=1 https://github.com/gszabi99/War-Thunder-Datamine
mv War-Thunder-Datamine/aces.vromfs.bin_u/gamedata data/
mv War-Thunder-Datamine/char.vromfs.bin_u/config data/
cd data/
autoload zmv
zmv -n '(**/)(*).blkx' '$1$2.json' | bash
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.119.0'
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: thunderview.net