Skip to content

Commit

Permalink
Fix paths in showdown and veekun workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Parnassius committed Jan 12, 2025
1 parent ed19d5c commit 76ba809
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update-showdown-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-veekun-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 76ba809

Please sign in to comment.