Skip to content

Run bot

Run bot #1699

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Run bot
# Controls when the workflow will run
on:
workflow_dispatch:
push:
branches:
- "main"
paths:
- "lichess-bot.py"
schedule:
- cron: "1 */4 * * *"
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Python Dependency Installation
uses: py-actions/[email protected]
# Runs a single command using the runners shell
- name: Run a multi-line script
run: |
echo ${{ secrets.LICHESS_KEY }} > key.txt
chmod +x ./engines/fairy-stockfish-largeboard_x86-64
chmod +x ./engines/stockfish-ubuntu-x86-64-sse41-popcnt
python3 lichess-bot.py