From 484dd8aebb460e9eb6edb73f38e0bc5f69e3d632 Mon Sep 17 00:00:00 2001 From: katsumi <32640219+katsumi143@users.noreply.github.com> Date: Sat, 6 Apr 2024 01:55:41 +1000 Subject: [PATCH] Update build-upload.yml --- .github/workflows/build-upload.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-upload.yml b/.github/workflows/build-upload.yml index 3a37a5f..31dfd61 100644 --- a/.github/workflows/build-upload.yml +++ b/.github/workflows/build-upload.yml @@ -23,10 +23,10 @@ jobs: API_KEY: ${{secrets.API_KEY}} RUST_LOG: ${{env.RUST_LOG}} DISCORD_TOKEN: ${{secrets.DISCORD_TOKEN}} - DISCORD_APP_ID: ${{env.DISCORD_APP_ID}} + DISCORD_APP_ID: 1068554282481229885 ABSOLUTESOLVER: ${{secrets.ABSOLUTESOLVER}} SUPABASE_API_KEY: ${{secrets.SUPABASE_API_KEY}} - DISCORD_PUBLIC_KEY: ${{env.DISCORD_APP_PUBLIC_KEY}} + DISCORD_PUBLIC_KEY: 49ae4185b6190ae3b43d29933f68163df2b29ce3616c2a10c5ced764770e2526 ROBLOX_OPEN_CLOUD_KEY: ${{secrets.ROBLOX_OPEN_CLOUD_KEY}} - name: Upload uses: Dylan700/sftp-upload-action@latest @@ -39,3 +39,10 @@ jobs: ./target/release/ => /home/debian/artifacts ignore: | !mellow + - uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.SERVER_SSH_IP }} + username: debian + key: ${{ secrets.SERVER_SSH_KEY }} + port: 22 + script: sudo systemctl restart mellow