Compare commits
No commits in common. "5bf0872ba981e0af28b3641f26e3de9d3297524a" and "13fc5a032d57b66104633875f6e1686050a89657" have entirely different histories.
5bf0872ba9
...
13fc5a032d
@ -14,17 +14,17 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Log in to Gitea Package Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ secrets.SERVER_URL }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
||||
run: echo "${{ secrets.PACKAGE_TOKEN }}" | docker login $SERVER_URL -u $USERNAME --password-stdin
|
||||
env:
|
||||
SERVER_URL: ${{ secrets.SERVER_URL }}
|
||||
USERNAME: ${{ secrets.USERNAME }}
|
||||
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
|
||||
|
||||
- name: Build Docker Image
|
||||
run: docker build -t git.pontusmail.org/aidan/request-bot:latest .
|
||||
|
||||
- name: Push Docker Image
|
||||
run: docker push git.pontusmail.org/aidan/request-bot:latest
|
||||
run: docker push git.pontusmail.org/aidan/request-bot:latest
|
42
.github/workflows/bump.yml
vendored
42
.github/workflows/bump.yml
vendored
@ -1,42 +0,0 @@
|
||||
name: Bump Dependencies
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
- cron: "0 12 * * *"
|
||||
|
||||
jobs:
|
||||
update-dependencies:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
|
||||
- name: Install Dependencies
|
||||
run: bun install
|
||||
|
||||
- name: Update Dependencies
|
||||
run: bun update
|
||||
|
||||
- name: Commit and Push Changes
|
||||
env:
|
||||
USERNAME_GITEA: ${{ secrets.USERNAME_GITEA }}
|
||||
TOKEN_GITEA: ${{ secrets.TOKEN_GITEA }}
|
||||
SERVER_URL: ${{ secrets.SERVER_URL }}
|
||||
run: |
|
||||
git config --global user.name "LibreCloud Actions Bot"
|
||||
git config --global user.email "git@pontusmail.org"
|
||||
echo "Connecting to $SERVER_URL"
|
||||
git remote set-url origin https://${USERNAME_GITEA}:${TOKEN_GITEA}@git.pontusmail.org/aidan/request-bot.git
|
||||
git add .
|
||||
git commit -m "chore: bump dependencies" || exit 0
|
||||
git push origin main
|
8
.gitignore
vendored
8
.gitignore
vendored
@ -130,10 +130,4 @@ dist
|
||||
.pnp.*
|
||||
|
||||
# database
|
||||
responses.json
|
||||
|
||||
# bun
|
||||
bun.lockb
|
||||
|
||||
# idea
|
||||
.idea/
|
||||
responses.json
|
@ -1,11 +1,8 @@
|
||||
# request-bot
|
||||
|
||||
[](https://github.com/ihatenodejs/request-bot/actions/workflows/docker.yml)
|
||||
[](https://github.com/ihatenodejs/request-bot/actions/workflows/bump.yml)
|
||||
|
||||
A Telegram bot which takes requests for modules.lol
|
||||
|
||||
## Setting up and self-hosting
|
||||
## Setting up and self hosting
|
||||
|
||||
### Using Docker
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user