diff --git a/.github/workflows/update-showdown-data.yml b/.github/workflows/update-showdown-data.yml index 47ed830d..ef3e3396 100644 --- a/.github/workflows/update-showdown-data.yml +++ b/.github/workflows/update-showdown-data.yml @@ -29,10 +29,10 @@ jobs: run: | echo 'const fs = require("fs"); const Sim = require("./pokemon-showdown"); - fs.writeFileSync("cerbottana/cerbottana/data/showdown/aliases.json", JSON.stringify(Sim.Dex.data.Aliases, null, 2) + "\n"); - fs.writeFileSync("cerbottana/cerbottana/data/showdown/pokedex.json", JSON.stringify(Sim.Dex.data.Pokedex, null, 2) + "\n"); - fs.writeFileSync("cerbottana/cerbottana/data/showdown/pokedex-mini.json", JSON.stringify(require("./pokedex-mini.js").BattlePokemonSprites, null, 2) + "\n"); - fs.writeFileSync("cerbottana/cerbottana/data/showdown/pokedex-mini-bw.json", JSON.stringify(require("./pokedex-mini-bw.js").BattlePokemonSpritesBW, null, 2) + "\n"); + fs.writeFileSync("cerbottana/src/cerbottana/data/showdown/aliases.json", JSON.stringify(Sim.Dex.data.Aliases, null, 2) + "\n"); + fs.writeFileSync("cerbottana/src/cerbottana/data/showdown/pokedex.json", JSON.stringify(Sim.Dex.data.Pokedex, null, 2) + "\n"); + fs.writeFileSync("cerbottana/src/cerbottana/data/showdown/pokedex-mini.json", JSON.stringify(require("./pokedex-mini.js").BattlePokemonSprites, null, 2) + "\n"); + fs.writeFileSync("cerbottana/src/cerbottana/data/showdown/pokedex-mini-bw.json", JSON.stringify(require("./pokedex-mini-bw.js").BattlePokemonSpritesBW, null, 2) + "\n"); ' | node - - name: Create Pull Request uses: peter-evans/create-pull-request@v7 diff --git a/.github/workflows/update-veekun-data.yml b/.github/workflows/update-veekun-data.yml index 05c35971..58558e5e 100644 --- a/.github/workflows/update-veekun-data.yml +++ b/.github/workflows/update-veekun-data.yml @@ -18,7 +18,7 @@ jobs: repository: veekun/pokedex path: veekun - name: Update veekun data - run: cp veekun/pokedex/data/csv/*.csv cerbottana/cerbottana/data/veekun/ + run: cp veekun/pokedex/data/csv/*.csv cerbottana/src/cerbottana/data/veekun/ - name: Create Pull Request uses: peter-evans/create-pull-request@v7 with: