runner-images/bin/joj3-forge-convert
张泊明518370910136 17c0968e8f
All checks were successful
push / build (push) Successful in 3m25s
feat: push json conf back
2025-06-03 21:42:23 -04:00

11 lines
471 B
Bash
Executable File

#!/usr/bin/bash
set -e
COURSE=$1
git -C /home/tt/.cache/$COURSE-config pull
rsync -r --delete /home/tt/.cache/$COURSE-config/home/tt/.config/ /home/tt/.config
joj3-forge convert /home/tt/.config/joj
rsync -r --delete /home/tt/.config/joj/ /home/tt/.cache/$COURSE-config/home/tt/.config/joj
git -C /home/tt/.cache/$COURSE-config add home/tt/.config/joj
git -C /home/tt/.cache/$COURSE-config commit -m "chore: joj3-forge convert"
git -C /home/tt/.cache/$COURSE-config push