Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 authored Sep 20, 2024
1 parent f0b63f8 commit 0786024
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: Deploy Discord Bot
name: Deploy Discord Bot

on:
on:
schedule:
# Запускать каждые 8 часов
- cron: '0 */8 * * *'
- cron: '1 */8 * * *'
# push:
# branches:
# - main
workflow_dispatch:

jobs:
jobs:
deploy:
runs-on: ubuntu-latest

Expand All @@ -32,4 +36,4 @@ jobs:
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
run: |
python main.py &
python main.py

0 comments on commit 0786024

Please sign in to comment.