Skip to content

Commit 58699f7

Browse files
API data update and store metadata in circleci context (#363)
* chore: store hash and deploy_date into a circleci context * [Updater Bot] Regenerate data from PokeAPI/pokeapi#1493 --------- Co-authored-by: Naramsim <igougi.ui@gmail.com>
1 parent a35c2b9 commit 58699f7

278 files changed

Lines changed: 4955 additions & 2454 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ jobs:
3232
command: tar czf _gen.tar.gz _gen/*
3333
- store_artifacts:
3434
path: _gen.tar.gz
35+
- run:
36+
name: Install CircleCI CLI
37+
command: curl -fLSs https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/main/install.sh | DESTDIR=/tmp bash
38+
- run:
39+
name: Store metadata
40+
command: |
41+
echo "$(jq -r '.hash' data/api/v2/meta/index.json)" | /tmp/circleci --token "$CIRCLECI_API_TOKEN_NARAMSIM" context store-secret --org-id "$CIRCLE_ORGANIZATION_ID" "pokeapi_$CIRCLE_BRANCH" hash
42+
echo "$(jq -r '.deploy_date' data/api/v2/meta/index.json)" | /tmp/circleci --token "$CIRCLECI_API_TOKEN_NARAMSIM" context store-secret --org-id "$CIRCLE_ORGANIZATION_ID" "pokeapi_$CIRCLE_BRANCH" deploy_date
3543
# Trigger a new build of the deploy job of the deploy project
3644
- run:
3745
name: Trigger a deploy of the deploy project passing the desired environment/location to deploy to

data/api/v2/ability/268/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
"name": "scarlet-violet",
4141
"url": "/api/v2/version-group/25/"
4242
}
43+
},
44+
{
45+
"flavor_text": "\u76f8\u624b\u306b\u3000\u89e6\u3089\u308c\u308b\u3068\n\u3068\u308c\u306a\u3044\u306b\u304a\u3044\u304c\n\u76f8\u624b\u306b\u3000\u3046\u3064\u3063\u3066\u3057\u307e\u3046\u3002",
46+
"language": {
47+
"name": "ja",
48+
"url": "/api/v2/language/11/"
49+
},
50+
"version_group": {
51+
"name": "scarlet-violet",
52+
"url": "/api/v2/version-group/25/"
53+
}
4354
}
4455
],
4556
"generation": {

data/api/v2/ability/269/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
"name": "scarlet-violet",
4141
"url": "/api/v2/version-group/25/"
4242
}
43+
},
44+
{
45+
"flavor_text": "\u653b\u6483\u3092\u3000\u53d7\u3051\u308b\u3068\n\u30b0\u30e9\u30b9\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u3000\u3059\u308b\u3002",
46+
"language": {
47+
"name": "ja",
48+
"url": "/api/v2/language/11/"
49+
},
50+
"version_group": {
51+
"name": "scarlet-violet",
52+
"url": "/api/v2/version-group/25/"
53+
}
4354
}
4455
],
4556
"generation": {

data/api/v2/ability/270/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
"name": "scarlet-violet",
4141
"url": "/api/v2/version-group/25/"
4242
}
43+
},
44+
{
45+
"flavor_text": "\u307b\u306e\u304a\u30bf\u30a4\u30d7\u306e\u3000\u6280\u3092\u3000\u53d7\u3051\u308b\u3068\n\u653b\u6483\u304c\u3000\u4e0a\u304c\u308b\u3002\n\u3084\u3051\u3069\u72b6\u614b\u306b\u3000\u306a\u3089\u306a\u3044\u3002",
46+
"language": {
47+
"name": "ja",
48+
"url": "/api/v2/language/11/"
49+
},
50+
"version_group": {
51+
"name": "scarlet-violet",
52+
"url": "/api/v2/version-group/25/"
53+
}
4354
}
4455
],
4556
"generation": {

data/api/v2/ability/271/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
"name": "scarlet-violet",
4141
"url": "/api/v2/version-group/25/"
4242
}
43+
},
44+
{
45+
"flavor_text": "\u76f8\u624b\u306e\u653b\u6483\u3067\u3000HP\u304c\u3000\u534a\u5206\u306b\u3000\u306a\u308b\u3068\n\u6012\u308a\u3067\u3000\u9632\u5fa1\u3068\u3000\u7279\u9632\u304c\u3000\u4e0b\u304c\u308b\u304c\n\u653b\u6483\u3000\u7279\u653b\u3000\u7d20\u65e9\u3055\u304c\u3000\u4e0a\u304c\u308b\u3002",
46+
"language": {
47+
"name": "ja",
48+
"url": "/api/v2/language/11/"
49+
},
50+
"version_group": {
51+
"name": "scarlet-violet",
52+
"url": "/api/v2/version-group/25/"
53+
}
4354
}
4455
],
4556
"generation": {

data/api/v2/ability/272/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
"name": "scarlet-violet",
4141
"url": "/api/v2/version-group/25/"
4242
}
43+
},
44+
{
45+
"flavor_text": "\u6e05\u3089\u304b\u306a\u5869\u3067\u3000\u72b6\u614b\u7570\u5e38\u306b\u3000\u306a\u3089\u306a\u3044\u3002\n\u30b4\u30fc\u30b9\u30c8\u30bf\u30a4\u30d7\u306e\u3000\u6280\u306e\n\u30c0\u30e1\u30fc\u30b8\u3092\u3000\u534a\u6e1b\u3055\u305b\u308b\u3002",
46+
"language": {
47+
"name": "ja",
48+
"url": "/api/v2/language/11/"
49+
},
50+
"version_group": {
51+
"name": "scarlet-violet",
52+
"url": "/api/v2/version-group/25/"
53+
}
4354
}
4455
],
4556
"generation": {

data/api/v2/ability/273/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
"name": "scarlet-violet",
4141
"url": "/api/v2/version-group/25/"
4242
}
43+
},
44+
{
45+
"flavor_text": "\u307b\u306e\u304a\u30bf\u30a4\u30d7\u306e\u3000\u6280\u3092\u3000\u53d7\u3051\u308b\u3068\n\u30c0\u30e1\u30fc\u30b8\u3092\u3000\u53d7\u3051\u305a\u306b\n\u9632\u5fa1\u304c\u3000\u3050\u30fc\u3093\u3068\u3000\u4e0a\u304c\u308b\u3002",
46+
"language": {
47+
"name": "ja",
48+
"url": "/api/v2/language/11/"
49+
},
50+
"version_group": {
51+
"name": "scarlet-violet",
52+
"url": "/api/v2/version-group/25/"
53+
}
4354
}
4455
],
4556
"generation": {

data/api/v2/ability/274/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
"name": "scarlet-violet",
4141
"url": "/api/v2/version-group/25/"
4242
}
43+
},
44+
{
45+
"flavor_text": "\u304a\u3044\u304b\u305c\u304c\u3000\u5439\u3044\u305f\u308a\u3000\u98a8\u6280\u3092\u3000\u53d7\u3051\u308b\u3068\n\u30c0\u30e1\u30fc\u30b8\u3092\u3000\u53d7\u3051\u305a\u306b\n\u653b\u6483\u304c\u3000\u4e0a\u304c\u308b\u3002",
46+
"language": {
47+
"name": "ja",
48+
"url": "/api/v2/language/11/"
49+
},
50+
"version_group": {
51+
"name": "scarlet-violet",
52+
"url": "/api/v2/version-group/25/"
53+
}
4354
}
4455
],
4556
"generation": {

data/api/v2/ability/275/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
"name": "scarlet-violet",
4141
"url": "/api/v2/version-group/25/"
4242
}
43+
},
44+
{
45+
"flavor_text": "\u3044\u304b\u304f\u3000\u3055\u308c\u308b\u3068\u3000\u653b\u6483\u304c\u3000\u4e0a\u304c\u308b\u3002\n\u30dd\u30b1\u30e2\u30f3\u3092\u3000\u5165\u308c\u66ff\u3048\u3055\u305b\u308b\n\u6280\u3084\u3000\u9053\u5177\u304c\u3000\u52b9\u304b\u306a\u3044\u3002",
46+
"language": {
47+
"name": "ja",
48+
"url": "/api/v2/language/11/"
49+
},
50+
"version_group": {
51+
"name": "scarlet-violet",
52+
"url": "/api/v2/version-group/25/"
53+
}
4354
}
4455
],
4556
"generation": {

data/api/v2/ability/276/index.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@
4040
"name": "scarlet-violet",
4141
"url": "/api/v2/version-group/25/"
4242
}
43+
},
44+
{
45+
"flavor_text": "\u3044\u308f\u30bf\u30a4\u30d7\u306e\u3000\u6280\u306e\n\u5a01\u529b\u304c\u3000\u4e0a\u304c\u308b\u3002",
46+
"language": {
47+
"name": "ja",
48+
"url": "/api/v2/language/11/"
49+
},
50+
"version_group": {
51+
"name": "scarlet-violet",
52+
"url": "/api/v2/version-group/25/"
53+
}
4354
}
4455
],
4556
"generation": {

0 commit comments

Comments
 (0)