fix?
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -96,17 +96,21 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy to server
|
- name: Deploy to server
|
||||||
uses: appleboy/ssh-action@v1.0.0
|
uses: appleboy/ssh-action@v1.0.0
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GITHUB_ACTOR: ${{ github.actor }}
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.SSH_KEY }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
|
envs: GITHUB_TOKEN,GITHUB_ACTOR
|
||||||
script: |
|
script: |
|
||||||
cd /opt/quixotic
|
cd /opt/quixotic
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
||||||
# Login to GitHub Container Registry
|
# Login to GitHub Container Registry
|
||||||
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
echo $GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
|
||||||
|
|
||||||
# Deploy using production compose
|
# Deploy using production compose
|
||||||
docker-compose -f docker-compose.yml -f docker-compose.prod.yml pull
|
docker-compose -f docker-compose.yml -f docker-compose.prod.yml pull
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ class QuixoticApp {
|
|||||||
public async convertVideo(videoId: string, title: string, url: string): Promise<void> {
|
public async convertVideo(videoId: string, title: string, url: string): Promise<void> {
|
||||||
console.log('🎵 CONVERT VIDEO CALLED:', { videoId, title, url });
|
console.log('🎵 CONVERT VIDEO CALLED:', { videoId, title, url });
|
||||||
console.log('🔧 Telegram WebApp available:', !!this.tg);
|
console.log('🔧 Telegram WebApp available:', !!this.tg);
|
||||||
const videoElement = (event as any)?.currentTarget as HTMLElement;
|
const videoElement = document.activeElement as HTMLElement;
|
||||||
if (videoElement) {
|
if (videoElement) {
|
||||||
videoElement.classList.add('tg-list-item--converting');
|
videoElement.classList.add('tg-list-item--converting');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user