Taperx commited on
Commit
0d2bee9
·
verified ·
1 Parent(s): 903646b

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +5 -0
start.sh CHANGED
@@ -1,6 +1,11 @@
1
  #!/bin/bash
 
2
  echo "Setting permissions for VeloCT_Base..."
3
  chmod +x ./engines/VeloCT_Base
4
 
 
 
 
 
5
  echo "Starting the Lichess Bot..."
6
  python lichess-bot.py -u
 
1
  #!/bin/bash
2
+
3
  echo "Setting permissions for VeloCT_Base..."
4
  chmod +x ./engines/VeloCT_Base
5
 
6
+ echo "Injecting Lichess token into config..."
7
+ # This secretly replaces the placeholder with your actual HF Secret token
8
+ sed -i "s|\${LICHESS_TOKEN}|${LICHESS_TOKEN}|g" config.yml
9
+
10
  echo "Starting the Lichess Bot..."
11
  python lichess-bot.py -u