File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,18 +37,8 @@ shebang は `#!/usr/bin/env -S mise exec -- bash` にする。mise がランタ
3737
3838``` yaml
3939my-bot :
40- <<<<<<< Updated upstream
41- schedule : " 7pm" # 下記参照
42- working_dir : bots/my-bot
43- run : ./run.sh
44- ||||||| Stash base
45- schedule : " 7pm" # 下記参照
46- working_dir : bots/my-bot
47- run : ./run.sh
48- =======
4940 schedule : " 7pm" # 下記参照
5041 run : bots/my-bot/run.sh
51- >>>>>>> Stashed changes
5242 log : ~/run/discord-bots/my-bot/log
5343 # build: ./build.sh # コンパイルが必要な場合
5444 # env_file: ~/run/discord-bots/my-bot/env # 環境変数が必要な場合
@@ -111,12 +101,7 @@ sops を使わない場合:
111101## コマンド
112102
113103``` bash
114- <<< <<< < Updated upstream
115- ||||||| Stash base
116- eval " $( direnv export bash) " && COMMAND
117- =======
118104mise exec -- COMMAND
119- >>>>>>> Stashed changes
120105sops exec-env path/to/sops.env ' echo success!' # sops 鍵検証
121106ssh USER@coolify.utcode.net " sudo -u deploy bash -c 'COMMAND'" # デプロイ先で操作
122107```
Original file line number Diff line number Diff line change 11[tools ]
2- bun = " latest "
3- node = " 22 "
4- biome = " latest "
5- sops = " latest "
6- age = " latest "
2+ bun = " 1 "
3+ node = " 24 "
4+ biome = " 2 "
5+ sops = " 3 "
6+ age = " 1 "
77
88[env ]
99SOPS_AGE_KEY_FILE = " {{ config_root }}/.age-key"
Original file line number Diff line number Diff line change 2929 env_file : ~/run/discord-bots/asakatsu-bot/env
3030 log : ~/run/discord-bots/asakatsu-bot/log
3131
32- <<<<<<< Updated upstream
3332 # joji-bot:
3433 # schedule: "7pm"
35- # working_dir: bots/joji-bot
36- # run: ./run.sh
34+ # run: bots/joji-bot/run.sh
3735 # env_file: ~/run/discord-bots/joji-bot/env
3836 # log: ~/run/discord-bots/joji-bot/log
39- ||||||| Stash base
40- joji-bot :
41- schedule : " 7pm"
42- working_dir : bots/joji-bot
43- run : ./run.sh
44- env_file : ~/run/discord-bots/joji-bot/env
45- log : ~/run/discord-bots/joji-bot/log
46- =======
47- joji-bot :
48- schedule : " 7pm"
49- run : bots/joji-bot/run.sh
50- env_file : ~/run/discord-bots/joji-bot/env
51- log : ~/run/discord-bots/joji-bot/log
52- >>>>>>> Stashed changes
5337
You can’t perform that action at this time.
0 commit comments