From 5716beaa162a0d27c3e6be3639d84d207d5c0280 Mon Sep 17 00:00:00 2001 From: "Alan D. Tse" Date: Sat, 1 Jun 2024 11:35:07 -0700 Subject: [PATCH] ci: add session cookie updater --- .github/workflows/refresh-nexus-cron.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/refresh-nexus-cron.yml diff --git a/.github/workflows/refresh-nexus-cron.yml b/.github/workflows/refresh-nexus-cron.yml new file mode 100644 index 0000000..40f5df7 --- /dev/null +++ b/.github/workflows/refresh-nexus-cron.yml @@ -0,0 +1,21 @@ +#https://github.com/BUTR/.github/blob/master/.github/workflows/refresh-nexusmods-credentials.yml +name: Refresh NexusMods Credentials + +on: + schedule: + - cron: "0 0 */10 * *" + workflow_dispatch: + +env: + # Disable the .NET logo in the console output. + DOTNET_NOLOGO: true + # Disable the .NET first time experience to skip caching NuGet packages and speed up the build. + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + # Disable sending .NET CLI telemetry to Microsoft. + DOTNET_CLI_TELEMETRY_OPTOUT: true + +jobs: + aragas-unex-refresh-nexusmods: + uses: alandtse/skyrim_vr_address_library/.github/workflows/refresh-unex-nexusmods.yml@master + secrets: + NEXUSMODS_SESSION_COOKIE: ${{ secrets.NEXUSMODS_SESSION_COOKIE }}