Skip to content

Update Datamine

Update Datamine #1103

Workflow file for this run

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