From f09c935626a2dab499ba4f24b7fb14fd8b22323f Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Thu, 25 Jan 2024 23:09:25 +0100 Subject: [PATCH] Attempt to use TOTP instead --- .gitea/workflows/love2d.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/love2d.yaml b/.gitea/workflows/love2d.yaml index 8b330a8..d2242b8 100644 --- a/.gitea/workflows/love2d.yaml +++ b/.gitea/workflows/love2d.yaml @@ -29,7 +29,7 @@ on: STEAM_USERNAME: type: string required: false - STEAM_CONFIG_VDF: + STEAM_SHARED_SECRET: type: string required: false @@ -80,12 +80,6 @@ jobs: echo "love="$(ls bin/*.love) >> "$GITHUB_OUTPUT" echo "win64="$(ls bin/*-win64.zip) >> "$GITHUB_OUTPUT" - - name: Debugging publish - run: | - echo "github.event_name" = ${{ github.event_name }} - echo "ITCH_GAME_ID" = ${{ inputs.ITCH_GAME_ID }} - echo "STEAM_APP_ID" = ${{ inputs.STEAM_APP_ID }} - # Upload to itch - uses: KikimoraGames/itch-publish@v0.0.3 @@ -108,11 +102,17 @@ jobs: # Upload to steam + - uses: CyberAndrii/steam-totp@v1 + name: Generate TOTP + id: steam-totp + with: + shared_secret: ${{ secrets.STEAM_SHARED_SECRET }} + - uses: game-ci/steam-deploy@v3 if: always() && github.event_name == 'release' && inputs.STEAM_APP_ID with: username: ${{ secrets.STEAM_USERNAME }} - configVdf: ${{ secrets.STEAM_CONFIG_VDF }} + totp: ${{ steps.steam-totp.outputs.code }} appId: ${{ inputs.STEAM_APP_ID }} buildDescription: ${{ inputs.VERSION }} rootPath: .