mirror of
https://github.com/TheLovinator1/discord-reminder-bot.git
synced 2025-07-12 16:53:28 +02:00
Activate .gitea workflow
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
name: Docker
|
||||
|
||||
on:
|
||||
# push:
|
||||
# pull_request:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
# schedule:
|
||||
# - cron: "0 6 * * *"
|
||||
schedule:
|
||||
- cron: "@weekly"
|
||||
|
||||
env:
|
||||
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
|
||||
@ -16,15 +16,7 @@ env:
|
||||
jobs:
|
||||
build-and-push-docker:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- run: |
|
||||
if [ -z "${{ env.BOT_TOKEN }}" ]; then
|
||||
echo "BOT_TOKEN not set"
|
||||
exit 1
|
||||
fi
|
||||
- uses: actions/checkout@v4
|
||||
- uses: astral-sh/setup-uv@v5
|
||||
with:
|
Reference in New Issue
Block a user