Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
4c31569
feat: url support
feildmaster Mar 20, 2026
f443b1f
feat: text can be resized
feildmaster Mar 20, 2026
eb12c84
fix(editor): improve element update sequence
feildmaster Mar 20, 2026
e32cbce
chore: maybe use sortable still
feildmaster Mar 20, 2026
dded9a7
feat: allow deploy by itself
feildmaster Mar 20, 2026
db9f2e5
wip: effects
feildmaster Mar 20, 2026
c674566
feat: card effects
feildmaster Mar 21, 2026
c555d8a
chore: rename Module
feildmaster Mar 21, 2026
0cccfdb
fix: switching to custom image applies current value
feildmaster Mar 21, 2026
b43034e
chore: group similar effects together
feildmaster Mar 21, 2026
230c6fc
cleanup: allow passing iterables
feildmaster Mar 21, 2026
5d91f55
chore: rename object.js to smart.js
feildmaster Mar 21, 2026
db5f7e8
feat: get effects from image bank
feildmaster Mar 21, 2026
b9e4a1e
feat: editor buttons
feildmaster Mar 21, 2026
7010af7
fix: strip (optional) prefix from base64
feildmaster Mar 21, 2026
7779572
fix: image bank changes
feildmaster Mar 21, 2026
5367a50
chore: editor button tips
feildmaster Mar 21, 2026
3b03487
chore: clean smart object creation
feildmaster Mar 21, 2026
4337413
chore: styling
feildmaster Mar 21, 2026
a09bf1e
chore: rename effects -> keywords
feildmaster Mar 21, 2026
38d80de
fix: smart object return value
feildmaster Mar 21, 2026
cfb60fb
feat: file support
feildmaster Mar 21, 2026
573d60b
fix: some words are base64...
feildmaster Mar 21, 2026
ea6d7ae
fix: editor display
feildmaster Mar 22, 2026
52455f7
feat: add artifact keywords
feildmaster Mar 22, 2026
abf7c40
fix: display/render issues
feildmaster Mar 22, 2026
50d0f84
feat: stats and switch commands
feildmaster Mar 22, 2026
051317a
chore: remove legacy code
feildmaster Mar 22, 2026
1c55c23
feat: resize text box
feildmaster Mar 22, 2026
753fa76
style: use more vars
feildmaster Mar 22, 2026
0e67436
chore: show menu helper
feildmaster Mar 22, 2026
22ec8e7
chore: reposition toasts
feildmaster Mar 22, 2026
25feb1d
chore: improved description commands
feildmaster Mar 24, 2026
392927d
wip: color picker
feildmaster Mar 24, 2026
d372ef1
wip: archive
feildmaster Mar 24, 2026
fb6033b
chore: move archive to folder
feildmaster Mar 25, 2026
c2d4042
chore: cleanup menu code
feildmaster Mar 25, 2026
de37213
feat: elements remember their main renderer
feildmaster Mar 25, 2026
b743d4b
feat: base64 can now check prefix
feildmaster Mar 25, 2026
cfd8557
feat: toast message can now be an error callback
feildmaster Mar 25, 2026
ed6433a
feat: sorting, sorted
feildmaster Mar 26, 2026
a6acc7a
fix: prevent menu from closing archive
feildmaster Mar 26, 2026
7fe15f1
feat: archive
feildmaster Mar 29, 2026
c7ee36a
chore: adoptStyle
feildmaster Mar 29, 2026
351f4ac
chore: removal efficiency
feildmaster Mar 29, 2026
80c5e74
chore: iteration efficiency
feildmaster Mar 29, 2026
836732b
chore: make each renderer owned by own element type
feildmaster Mar 29, 2026
0714529
chore: remove compression
feildmaster Mar 29, 2026
ffdb641
fix: some elements don't exist
feildmaster Mar 29, 2026
eb5fcdc
fix(archive): extra is for folders only
feildmaster Mar 29, 2026
f387ec6
chore: show blank elements
feildmaster Mar 29, 2026
da33d4c
fix: flip based on tip position
feildmaster Mar 30, 2026
21111f9
chore: remove backgrounds
feildmaster Mar 30, 2026
51a0703
fix: loop all items
feildmaster Mar 30, 2026
9bd0a28
feat: placeholder artifact
feildmaster Mar 30, 2026
0578612
fix: specific buttons for trashFolder
feildmaster Mar 30, 2026
5a455ab
fix: the original code was correct (imagine that)
feildmaster Mar 30, 2026
8cd45a4
feat: drag n drop from archive
feildmaster Mar 30, 2026
1a36eea
chore: use map instead of object
feildmaster Mar 30, 2026
8f47535
fix: edit exits early
feildmaster Mar 30, 2026
e648b63
feat: edit from archive
feildmaster Mar 30, 2026
67cb318
chore: improve display of artifact image
feildmaster Mar 30, 2026
7a3664b
fix: rendering of group from archive
feildmaster Mar 30, 2026
3885966
fix: nested return
feildmaster Mar 30, 2026
22f8a2e
feat: archive active group
feildmaster Mar 30, 2026
8681e56
feat: basic (boolean) settings
feildmaster Mar 30, 2026
4305de2
feat: empty archive message
feildmaster Mar 30, 2026
ff7667f
feat: archive type images
feildmaster Mar 30, 2026
6bb6a2b
fix: don't drag elements on group element
feildmaster Mar 31, 2026
159dad5
chore: move data management to utility file
feildmaster Apr 1, 2026
4289b77
feat: clickable keywords
feildmaster Apr 1, 2026
0c00425
feat: store files directly
feildmaster Apr 1, 2026
95beb2b
chore: remove "smart" object
feildmaster Apr 1, 2026
431d5ba
fix: no longer save src on images
feildmaster Apr 1, 2026
49f22bd
fix: slightly better card description display
feildmaster Apr 1, 2026
592a117
fix: getURL returns empty string
feildmaster Apr 1, 2026
1a33fe6
fix: make soul explicit
feildmaster Apr 1, 2026
04d409b
chore: moving to centralized events
feildmaster Apr 2, 2026
b9b6ee1
fix: description tags
feildmaster Apr 2, 2026
472e0f8
fix: allow blob:
feildmaster Apr 2, 2026
709403f
fix: destroy keyword listeners
feildmaster Apr 2, 2026
9107d60
fix: bypass is not clickable
feildmaster Apr 3, 2026
02ee9eb
fix: DOM issues
feildmaster Apr 3, 2026
449f73f
fix: prefer network for local files
feildmaster Apr 3, 2026
e120315
feat: shift menu buttons
feildmaster Apr 3, 2026
e48f9c0
chore: use existing signal
feildmaster Apr 3, 2026
c9b0b79
wip: input select
feildmaster Apr 3, 2026
c4ee379
fix: data-extra selector
feildmaster Apr 3, 2026
fcd8249
feat: select input
feildmaster Apr 4, 2026
13d9723
chore: tidbits
feildmaster Apr 4, 2026
3628997
feat: image manager
feildmaster Apr 5, 2026
5f5e344
fix: events not binding
feildmaster Apr 5, 2026
3dff0ec
fix: keep archive open on edits
feildmaster Apr 5, 2026
72c144c
chore: move eventemitter
feildmaster Apr 5, 2026
e688413
chore: move saveImage
feildmaster Apr 5, 2026
266361c
feat: color picker
feildmaster Apr 6, 2026
c2609a1
fix: trash/restore/drop interactions
feildmaster Apr 6, 2026
dda07aa
fix: a few color picker bugs
feildmaster Apr 6, 2026
1277326
feat: checked base settings
feildmaster Apr 7, 2026
8d343b3
fix: tooltip bugs
feildmaster Sep 12, 2026
f2ced63
fix: setting checked by default
feildmaster Sep 12, 2026
6c20ae9
fix: kinda fix card avatar display
feildmaster Sep 12, 2026
578af4b
fix: settings not changing
feildmaster Sep 12, 2026
ada7ed5
fix: allow tests to run
feildmaster Sep 12, 2026
db3295e
revert: checked default on setting page
feildmaster Sep 12, 2026
b2b578f
feat: setting to save on close
feildmaster Sep 12, 2026
611cecd
chore: use new key constants
feildmaster Sep 12, 2026
1ec1264
feat: test support
feildmaster Sep 12, 2026
684ad68
feat: setting tests
feildmaster Sep 12, 2026
e5097fe
chore: rename SettingKey to Settings
feildmaster Sep 12, 2026
d29f210
fix: editor monster soul
feildmaster Sep 12, 2026
2e178b1
revert: tip flip removal
feildmaster Sep 12, 2026
173facc
fix: ignore test files
feildmaster Sep 12, 2026
dea215a
fix: color picker opening in {{
feildmaster Sep 13, 2026
669f2f2
fix: effects
feildmaster Sep 13, 2026
9d29890
fix: allow long strings to break on small screens
feildmaster Sep 13, 2026
e808a63
fix: specify config as mjs
feildmaster Sep 13, 2026
1a34833
fix: color picker again
feildmaster Sep 14, 2026
238e7ad
chore: mobile friendlier
feildmaster Sep 22, 2026
a766d88
fix: background color of group header
feildmaster Sep 22, 2026
5209b18
feat: show "shift" buttons on mobile
feildmaster Sep 22, 2026
e27e76a
fix: check response code when updating images
feildmaster Sep 22, 2026
583717c
fix: silenced got renamed
feildmaster Sep 22, 2026
a4f25e5
fix: service worker breaking page load
feildmaster Sep 27, 2026
c79d549
fix: default item type
feildmaster Sep 27, 2026
3a04854
fix: check element exists
feildmaster Sep 27, 2026
69d775d
fix: validate command exists
feildmaster Sep 27, 2026
dbb3e34
fix: hasKey no longer creates waste arrays
feildmaster Sep 27, 2026
ef2caa3
fix: make tip events more efficient
feildmaster Sep 27, 2026
1dd8b9f
fix: color picker greed
feildmaster Sep 27, 2026
a9530e4
fix: replaceAll
feildmaster Sep 27, 2026
99a096f
fix: color input listener
feildmaster Sep 27, 2026
fe9c09e
fix: some images not getting deleted
feildmaster Sep 27, 2026
86af386
chore: remove dead code
feildmaster Sep 27, 2026
a3f5111
chore: remove raw string support
feildmaster Sep 27, 2026
cc1306a
fix: ImageStore typing
feildmaster Sep 27, 2026
1c1ef8e
feat: add typing for StoredImage
feildmaster Sep 27, 2026
2d15d52
fix: wait for images on boot
feildmaster Sep 27, 2026
ff4d954
fix: check response for client resources
feildmaster Sep 27, 2026
71ef0dc
fix: log all boot errors
feildmaster Sep 27, 2026
0c48855
feat: safely load and quarentine erroneous data
feildmaster Sep 27, 2026
05cc1c0
fix: corrupted data no longer wipes itself
feildmaster Sep 27, 2026
295fda3
feat: confirmation dialog
feildmaster Sep 27, 2026
17cf031
feat: clear everything button
feildmaster Sep 27, 2026
f3a53f8
fix: image DB hanging
feildmaster Sep 27, 2026
79fb596
feat: toast on broken image saving
feildmaster Sep 27, 2026
289c078
fix: over eager drag listeners
feildmaster Sep 27, 2026
2530c5b
fix: keywords possibly breaking
feildmaster Sep 27, 2026
84e769d
feat: gh action to lint and test
feildmaster Sep 27, 2026
7cf917f
feat: extract deploy action
feildmaster Sep 27, 2026
0c1cd7c
chore: use shorter secret name
feildmaster Sep 27, 2026
80f2dc8
chore: update checkout action
feildmaster Sep 27, 2026
78585fb
chore: use new deploy scripts
feildmaster Sep 27, 2026
d960e95
chore: update checkout action
feildmaster Sep 27, 2026
c6eaa1f
chore: lint MRs
feildmaster Sep 27, 2026
8eb9bd1
fix: resources deploy directly
feildmaster Sep 27, 2026
5e8ffe6
fix: don't trigger twice on PRs
feildmaster Sep 27, 2026
b5bfa9d
fix: picker not closing properly && remove empty color tokens
feildmaster Sep 27, 2026
731965a
chore: stylize setting buttons
feildmaster Sep 27, 2026
64c9c19
fix: mobile tips sticking around
feildmaster Sep 27, 2026
127636b
feat: archive search
feildmaster Sep 27, 2026
a7c0820
chore: dark mode
feildmaster Sep 27, 2026
808bb29
fix: group menu
feildmaster Sep 27, 2026
66eb6f7
feat: rename images
feildmaster Sep 27, 2026
5bf534f
feat: add VarStore
feildmaster Sep 27, 2026
452472b
fix: exiting archive on mobile
feildmaster Sep 27, 2026
df8f378
fix: cache control headers
feildmaster Sep 27, 2026
7464f34
fix: home page caching (and add timeouts)
feildmaster Sep 27, 2026
3f77d09
feat: mobile "switch" button for description
feildmaster Sep 27, 2026
55224aa
fix: only center cards on mobile
feildmaster Sep 27, 2026
69395bd
chore: remove unused singleton setting builder
feildmaster Sep 27, 2026
f3e7949
feat: store raw link images
feildmaster Sep 27, 2026
5b872fe
feat: custom effects
feildmaster Sep 27, 2026
1f3414f
feat: zoom editor images on mobile
feildmaster Sep 27, 2026
c86e6bf
fix: restore missing images
feildmaster Sep 27, 2026
eeb7806
chore: remove duplicate effect images
feildmaster Sep 27, 2026
d048585
ci: fail on paths that differ only by case
feildmaster Sep 27, 2026
23465e3
fix: surface failed image downloads
feildmaster Sep 27, 2026
2920bda
fix: no-cache the root document
feildmaster Sep 27, 2026
06db932
ci: deploy on firebase.json and serialise runs
feildmaster Sep 27, 2026
9737def
fix: nomodule and noscript support
feildmaster Sep 27, 2026
0c5b48f
feat: image preview in archive
feildmaster Sep 27, 2026
1e0b650
fix: warn if deleting an asset is destructive
feildmaster Sep 27, 2026
bb0f19f
feat: stylize destructive confirmations
feildmaster Sep 27, 2026
2f9c513
chore: pin editor to the top of the page
feildmaster Sep 27, 2026
96eed6e
fix: remove service workers on dev
feildmaster Sep 27, 2026
9fb7da5
feat: generalize custom images
feildmaster Sep 27, 2026
847c19c
feat: custom tribes
feildmaster Sep 27, 2026
b8bbe45
feat: custom rarity
feildmaster Sep 27, 2026
585cb36
fix: deleted rarity images render blank
feildmaster Sep 27, 2026
2bab3b0
fix: settings style
feildmaster Sep 27, 2026
ab7b987
fix: remove(element)
feildmaster Sep 27, 2026
a62c11d
fix: sort when building trash
feildmaster Sep 27, 2026
5b6bff8
fix: save(element)
feildmaster Sep 27, 2026
e6db232
fix: reuse archive rows instead of re-rendering
feildmaster Sep 27, 2026
cf2318d
chore: drop dead archive drag listeners
feildmaster Sep 27, 2026
f11293d
fix: trashed children staying inside their group
feildmaster Sep 27, 2026
5ff596a
feat: move archived items between groups
feildmaster Sep 27, 2026
13bb3af
chore: changelog
feildmaster Sep 28, 2026
ca89337
chore: toast event errors while in development
feildmaster Sep 28, 2026
e6e82c6
feat: persist trash setting
feildmaster Sep 28, 2026
75bf6f2
feat: duplicate items
feildmaster Sep 28, 2026
fa1fa80
fix: menu buttons going off screen
feildmaster Sep 28, 2026
42658da
fix: tooltips position using CSS
feildmaster Sep 28, 2026
df09b72
feat: add heart to DT cards automatically
feildmaster Sep 28, 2026
8a4b31e
fix: viewport issues
feildmaster Sep 28, 2026
f33f7e1
fix: picker trigger
feildmaster Sep 28, 2026
2b224f4
chore: more viewport issues
feildmaster Sep 28, 2026
a952a19
feat: element export/import format
feildmaster Sep 28, 2026
7a29fe0
fix: text resizing on smaller screens
feildmaster Sep 28, 2026
502ab56
chore: extract theme colors
feildmaster Sep 28, 2026
b990395
chore: update game colors
feildmaster Sep 28, 2026
8865d50
feat: artifact rarity
feildmaster Sep 28, 2026
9878077
chore: add support for custom soul colors
feildmaster Sep 28, 2026
46f476a
chore: more editor styling
feildmaster Sep 28, 2026
56938b3
chore: extract a reusable color picker base
feildmaster Sep 29, 2026
9d1e716
chore: allow custom picker presets
feildmaster Sep 29, 2026
59e7543
chore: give soul options a value attribute
feildmaster Sep 29, 2026
61cf2b7
fix: mark the selected option in the text pickers
feildmaster Sep 29, 2026
a769390
feat: custom soul and artifact rarity colors
feildmaster Sep 29, 2026
a96ae55
fix: fill the archive icon interior
feildmaster Sep 29, 2026
35f2c39
chore: always mark soul/rarity
feildmaster Sep 29, 2026
f72b5bd
fix: edit group name via header
feildmaster Sep 29, 2026
f28fcb3
chore: update cards to (mostly) game style
feildmaster Sep 29, 2026
03ee284
feat: match game text size setting
feildmaster Sep 29, 2026
887b21e
fix: strip useless values when exporting
feildmaster Sep 30, 2026
fbbe164
feat: add frame support
feildmaster Sep 30, 2026
864658f
feat: silenced card effect
feildmaster Sep 30, 2026
9806874
chore: ignore files
feildmaster Sep 30, 2026
139bfbe
chore: artifact rarity changes the border color
feildmaster Sep 30, 2026
98f89c4
chore: changelog
feildmaster Sep 30, 2026
1e19156
chore: stylize settings with html
feildmaster Sep 30, 2026
2c8a059
fix: space cards apart more
feildmaster Sep 30, 2026
a934bb5
fix: use new endpoints for AllCards
feildmaster Oct 1, 2026
42ce02e
chore: use proxy and basic github runners
feildmaster Oct 4, 2026
3152a9a
fix: only download when necessary
feildmaster Oct 4, 2026
1f069c1
fix: skins only download when changed
feildmaster Oct 4, 2026
fe32551
chore: replace add-and-commit with a local action
feildmaster Oct 4, 2026
037f27b
Merge branch 'master' into v3
feildmaster Oct 4, 2026
c8d4373
feat: use SimpleToast 3.0 for toasts
feildmaster Oct 8, 2026
1a230e9
fix: canceling new items archives them
feildmaster Oct 8, 2026
f2c3b53
fix: editor preview, cancelled cards, moved cards and restored groups
feildmaster Oct 8, 2026
2771533
fix: ci no longer cancels the check the deploy depends on
feildmaster Oct 8, 2026
c30ca8c
fix: trashing groups trashes children
feildmaster Oct 8, 2026
c9c2df0
fix: the editor only binds the name field generically
feildmaster Oct 8, 2026
9508b63
fix: deleting an image warns about tribes and rarity too
feildmaster Oct 8, 2026
c03e57f
fix: save settings and the group list when they change
feildmaster Oct 8, 2026
e6e57a1
fix: dropping onto a never-saved group registers it
feildmaster Oct 8, 2026
9b69517
test: the filter tests use the real filtering code
feildmaster Oct 8, 2026
d6e3c0f
test: cover the storage helpers
feildmaster Oct 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

30 changes: 0 additions & 30 deletions .eslintrc.js

This file was deleted.

18 changes: 18 additions & 0 deletions .github/actions/commit-push/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Commit and push
description: Commit all changes with the github-actions bot and push, reporting whether anything was pushed
inputs:
message:
description: Commit message (the run number is appended)
required: true
outputs:
pushed:
description: 'true if a commit was pushed, otherwise false'
value: ${{ steps.commit.outputs.pushed }}
runs:
using: composite
steps:
- id: commit
shell: bash
env:
MESSAGE: ${{ inputs.message }}
run: node scripts/commit.js "$MESSAGE"
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on:
workflow_dispatch:
workflow_call:
push:
branches:
- master
paths-ignore:
- 'public/**'
- 'firebase.json'
pull_request:
paths-ignore:
- 'public/**'
jobs:
check:
name: Lint and test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v5
with:
node-version: 24
cache: npm
- run: npm clean-install
- name: Lint
run: npm run lint
- name: Test
run: npm test
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy to Firebase Hosting
on:
workflow_call:
secrets:
FIREBASE_SERVICE_ACCOUNT:
description: 'Firebase Service Account'
required: true
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
channelId: live
projectId: undercard-509ba
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
26 changes: 9 additions & 17 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Deploy to Firebase Hosting on merge
on:
workflow_call:
secrets:
FIREBASE_SERVICE_ACCOUNT_UNDERCARD_509BA:
description: 'Firebase Service Account'
required: true
workflow_dispatch:
push:
branches:
- master
Expand All @@ -15,15 +11,11 @@ concurrency:
group: deploy-${{ github.ref }}
cancel-in-progress: false
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_UNDERCARD_509BA }}'
channelId: live
projectId: undercard-509ba
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
check:
uses: ./.github/workflows/ci.yml
deploy:
needs: check
uses: ./.github/workflows/deploy.yml
secrets:
FIREBASE_SERVICE_ACCOUNT: ${{secrets.FIREBASE_SERVICE_ACCOUNT_UNDERCARD_509BA}}

5 changes: 4 additions & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ on:
paths:
- 'public/**'
jobs:
check:
uses: ./.github/workflows/ci.yml
build_and_preview:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/update-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
ref: master
- uses: actions/setup-node@v5
with:
node-version: 18
node-version: 24
- run: npm clean-install
- uses: tailscale/github-action@v4
with:
Expand All @@ -33,15 +33,14 @@ jobs:
- name: Check for case collisions
run: node scripts/checkCase.js
- name: Commit and push
uses: EndBug/add-and-commit@v9
with:
message: 'Update images (${{ github.run_number }})'
pathspec_error_handling: ignore
id: push
uses: ./.github/actions/commit-push
with:
message: Update images
deploy:
name: Trigger deploy
needs: build
if: needs.build.outputs.pushed == 'true' || github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/firebase-hosting-merge.yml
uses: ./.github/workflows/deploy.yml
secrets:
FIREBASE_SERVICE_ACCOUNT_UNDERCARD_509BA: ${{secrets.FIREBASE_SERVICE_ACCOUNT_UNDERCARD_509BA}}
FIREBASE_SERVICE_ACCOUNT: ${{secrets.FIREBASE_SERVICE_ACCOUNT_UNDERCARD_509BA}}
19 changes: 9 additions & 10 deletions .github/workflows/update-resources.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Update resources
on:
workflow_dispatch:
workflow_dispatch:
schedule:
- cron: 5 4 2,16 * *
jobs:
Expand All @@ -14,12 +14,12 @@ jobs:
pushed: ${{ steps.push.outputs.pushed }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: master
- uses: actions/setup-node@v3
- uses: actions/setup-node@v5
with:
node-version: 16
node-version: 24
- run: npm clean-install
- uses: tailscale/github-action@v4
with:
Expand All @@ -31,15 +31,14 @@ jobs:
env:
ALL_PROXY: socks5h://100.115.6.118:1080
- name: Commit and push
uses: EndBug/add-and-commit@v9
with:
message: 'Update new resources (${{ github.run_number }})'
pathspec_error_handling: ignore
id: push
uses: ./.github/actions/commit-push
with:
message: Update new resources
deploy:
name: Trigger deploy
needs: build
if: needs.build.outputs.pushed == 'true' || github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/firebase-hosting-merge.yml
uses: ./.github/workflows/deploy.yml
secrets:
FIREBASE_SERVICE_ACCOUNT_UNDERCARD_509BA: ${{secrets.FIREBASE_SERVICE_ACCOUNT_UNDERCARD_509BA}}
FIREBASE_SERVICE_ACCOUNT: ${{secrets.FIREBASE_SERVICE_ACCOUNT_UNDERCARD_509BA}}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ functions/package-lock.json
functions/index.js

*.ignore*
**/skins/

/public/resources/images/skins/
/public/resources/data/skins.json
Loading
Loading