From 1c0578b1a05795818e61e2ae0e2d415f6cf98699 Mon Sep 17 00:00:00 2001 From: Yorjander Hernandez Vergara Date: Tue, 27 Feb 2024 19:16:48 +0200 Subject: [PATCH] Restore agent workflow --- .github/workflows/agent.yml | 2 +- agent/agent/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 6d33f024e..863cb8a2a 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -68,7 +68,7 @@ jobs: pip install requests google-cloud-storage pyyaml $env:GCP_KEY = '${{ secrets.GCP_KEY }}' - cd ${{ github.workspace }}/.github/scripts; & python 'agent-deploy.py' $env:DEPLOY_ENV + cd ${{ github.workspace }}/.github/scripts; & 'C:\Program Files\Python312\python.exe' 'agent-deploy.py' $env:DEPLOY_ENV cd ${{ github.workspace }}; Remove-Item -Path "./*" -Recurse -Force \ No newline at end of file diff --git a/agent/agent/main.go b/agent/agent/main.go index 1ed53b29d..26544d129 100644 --- a/agent/agent/main.go +++ b/agent/agent/main.go @@ -29,7 +29,7 @@ func main() { h.FatalError("Failed to get current path: %v", err) } - // Configuring log saving + // Configuring log saving var logger = utils.CreateLogger(filepath.Join(path, "logs", configuration.SERV_LOG)) defer logger.Close() log.SetOutput(logger)