mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 23:27:09 +00:00
Create update_tabula.yml
This commit is contained in:
17
.github/workflows/update_tabula.yml
vendored
Normal file
17
.github/workflows/update_tabula.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: Update Tabula
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'locales/*.json'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Push changes to Tabula
|
||||
run: |
|
||||
curl "https://tabulas.herokuapp.com/api/loot-table/en/${{ secrets.TABULA_TOKEN}}/" -d "@locales/en.json" -H 'Content-Type: application/json'
|
||||
curl "https://tabulas.herokuapp.com/api/loot-table/ru/${{ secrets.TABULA_TOKEN}}/" -d "@locales/ru.json" -H 'Content-Type: application/json'
|
||||
curl "https://tabulas.herokuapp.com/api/loot-table/zh-CN/${{ secrets.TABULA_TOKEN}}/" -d "@locales/zh-CN.json" -H 'Content-Type: application/json'
|
||||
Reference in New Issue
Block a user