diff --git a/.github/workflows/deploy-telegram.yml b/.github/workflows/deploy-telegram.yml index b374ed2..9a3298f 100644 --- a/.github/workflows/deploy-telegram.yml +++ b/.github/workflows/deploy-telegram.yml @@ -31,12 +31,10 @@ jobs: environment: ${{ env.APP_ENV }} - name: Restart service on Kosarev.Space - uses: fjogeleit/http-request-action@v1 + uses: kosarev-space/deploy-action@0.0.1 with: - url: "https://kosarev.space/api/service/${{ secrets.TELEGRAM_GAME_SERVICE_ID }}/restart" - method: 'POST' - bearerToken: '${{ secrets.BEARER_TOKEN }}' - timeout: 15000 + auth_token: ${{ secrets.BEARER_TOKEN }} + service_id: ${{ secrets.TELEGRAM_GAME_SERVICE_ID }} - name: Update deployment status (success) if: success() diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b80b284..610ce3c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,12 +31,10 @@ jobs: environment: ${{ env.APP_ENV }} - name: Restart service on Kosarev.Space - uses: fjogeleit/http-request-action@v1 - with: - url: "https://kosarev.space/api/service/${{ secrets.SERVICE_ID }}/restart" - method: 'POST' - bearerToken: '${{ secrets.BEARER_TOKEN }}' - timeout: 15000 + uses: kosarev-space/deploy-action@0.0.1 + with: + auth_token: ${{ secrets.BEARER_TOKEN }} + service_id: ${{ secrets.SERVICE_ID }} - name: Update deployment status (success) if: success() diff --git a/apps/website/app/pages/(games)/wagon/index.vue b/apps/website/app/pages/(games)/wagon/index.vue index e630248..8acb4de 100644 --- a/apps/website/app/pages/(games)/wagon/index.vue +++ b/apps/website/app/pages/(games)/wagon/index.vue @@ -9,6 +9,10 @@