Skip to content

Commit

Permalink
Merge pull request #58 from dev-lymar/documentation
Browse files Browse the repository at this point in the history
✅ | Added new referral link
  • Loading branch information
dev-lymar authored Oct 3, 2024
2 parents bf1c257 + a8a2218 commit 2863c47
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: docker/build-push-action@v3
with:
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/hamster_bot:v1.8.7
tags: ${{ secrets.DOCKER_USERNAME }}/hamster_bot:v1.8.8

deploy:
runs-on: ubuntu-latest
Expand All @@ -63,7 +63,7 @@ jobs:
script: |
cd /home/${{ secrets.USERNAME }}/Hamster-generator
sed -i 's/IMAGE_TAG=.*/IMAGE_TAG=v1.8.7/' .env.prod
sed -i 's/IMAGE_TAG=.*/IMAGE_TAG=v1.8.8/' .env.prod
make prod-down
make prod-up
Expand All @@ -79,8 +79,8 @@ jobs:
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
tag: v1.8.7
name: "Release v1.8.7"
tag: v1.8.8
name: "Release v1.8.8"
body: |
Added annotations. Fixed bugs | 🏖️
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ run_dev_bot_docker:
docker-compose -f docker-compose.yml -f docker-compose.dev.yml --env-file .env.dev up bot

prod-up:
docker-compose -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod up -d
docker-compose -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod up postgres redis bot -d

prod-down:
docker-compose -f docker-compose.yml -f docker-compose.prod.yml --env-file .env.prod down
1 change: 1 addition & 0 deletions bot/keyboards/inline.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ async def get_action_buttons(user_id: int) -> InlineKeyboardMarkup:
builder.row(InlineKeyboardButton(
text=await get_translation(user_id, "buttons", "referral_links"), callback_data="referral_links")
)
builder.row(InlineKeyboardButton(text="🎰 GAMECENTER", url=REFERRAL_LINKS.get('🎰 GAMECENTER')))

builder.row(
InlineKeyboardButton(text="☑️ TON Station", url=REFERRAL_LINKS.get('☑️ TON Station')),
Expand Down
2 changes: 1 addition & 1 deletion bot/utils/referals.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'🏠 CITY Holder': 't.me/cityholder/game?startapp=452792586',
'🤖 TapSwap': 't.me/tapswap_mirror_2_bot?startapp=r_452792586',
'☑️ TON Station': 't.me/tonstationgames_bot/app?startapp=ref_89cdjxm8nmvle8dxnoy7fg',
'⚫️ DotCoin': 't.me/dotcoin_bot?startapp=r_452792586',
'🎰 GAMECENTER': 'https://t.me/catizenbot/gamecenter?startapp=p_4704153',
'🖲️ CEX.IO Power Tap': 'https://t.me/cexio_tap_bot?startapp=1716399236183636',
'⭐ Major': 'https://t.me/major/start?startapp=452792586',
'😺 Catizen': 'https://t.me/catizenbot/gameapp?startapp=r_2779_5703457',
Expand Down

0 comments on commit 2863c47

Please sign in to comment.