Compare commits
4 Commits
99d307a2a7
...
main
Author | SHA1 | Date | |
---|---|---|---|
bacbaf4866
|
|||
c8ae2c3860
|
|||
2eeaa34401
|
|||
9bd34aeb2a
|
@ -1,8 +1,7 @@
|
|||||||
name: QuotesBot
|
name: QuotesBot
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# - cron: '35 */4 * * *'
|
- cron: '35 */4 * * *'
|
||||||
- cron: '22 * * * *'
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
25
.gitea/workflows/release.yml
Normal file
25
.gitea/workflows/release.yml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
name: create release
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: create release
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: create the release
|
||||||
|
id: create_release
|
||||||
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ secrets.PAT }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
|
with:
|
||||||
|
tag_name: ${{ gitea.ref }}
|
||||||
|
release_name: release ${{ gitea.ref }}
|
||||||
|
body: |
|
||||||
|
releasing ${{ gitea.ref }} for ${{ gitea.repository }}
|
||||||
|
make_latest: true
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
# The new [QuotesBot](https://bots.fyrfli.social/@quotesbot) code 
|
# The new [QuotesBot](https://bots.fyrfli.social/@quotesbot) code [](https://fyrfli.dev/fyrfli/quotesbot/actions)
|
||||||
|
|
||||||
In the neverending quest to improve my coding skills, I often check out the code that other bots employ. Last night, I decided to check out the code for the [ThursdayBot](https://github.com/devashishp/thursday) and realised something really neat:
|
In the neverending quest to improve my coding skills, I often check out the code that other bots employ. Last night, I decided to check out the code for the [ThursdayBot](https://github.com/devashishp/thursday) and realised something really neat:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user