Skip to content

Commit

Permalink
feat: Move to CDN-sourced word lists
Browse files Browse the repository at this point in the history
  • Loading branch information
evancharlton committed Jan 8, 2025
1 parent b88ab4b commit edc736b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 24,530 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
with:
persist-credentials: false
submodules: "true"
token: ${{ secrets.ORDLIST_TOKEN }}

- id: "auth"
name: "Authenticate to Google Cloud"
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "wordlist"]
path = wordlist
url = https://github.com/evancharlton/ordlist
[submodule "src/spa-components"]
path = src/spa-components
url = https://github.com/evancharlton/spa-components
11 changes: 0 additions & 11 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
#!/usr/bin/env bash

echo "Copying wordlists ..."
find wordlist/ordle \
-mindepth 1 \
-maxdepth 1 \
-type d \
-exec cp -Rv {} public/ \; \
|| exit $?

rm -rf public/nb && cp -Rv public/nb-no public/nb
rm -rf public/nn && cp -Rv public/nn-no public/nn

npm ci
npm run build || exit $?

Expand Down
Loading

0 comments on commit edc736b

Please sign in to comment.