From dbadb25191477386ecab5b1c8dacb4d6498c7d4c Mon Sep 17 00:00:00 2001 From: Romin <15949-romin.benfer@users.noreply.git.rwth-aachen.de> Date: Fri, 28 Apr 2023 18:09:24 +0200 Subject: [PATCH] Update coscine.yml --- .github/workflows/coscine.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coscine.yml b/.github/workflows/coscine.yml index eaabc6f..4194fb6 100644 --- a/.github/workflows/coscine.yml +++ b/.github/workflows/coscine.yml @@ -4,6 +4,10 @@ name: Deploy Coscine Static Site to GitHub Pages on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: + schedule: + # * is a special character in YAML so you have to quote this string + # Run every day at 8 am UTC + - cron: '0 8 * * *' # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: @@ -26,11 +30,9 @@ jobs: # Build job build: runs-on: ubuntu-latest - # Put your Project and Resource names here. Also make sure you have set - # your Coscine API Token as a repository variable in the repository settings! env: - PROJECT_NAME: "Solaris" - RESOURCE_NAME: "Chest X-Ray CNN" + PROJECT_NAME: ${{vars.COSCINE_PROJECT_NAME}} + RESOURCE_NAME: ${{vars.COSCINE_RESOURCE_NAME}} COSCINE_API_TOKEN: ${{vars.COSCINE_API_TOKEN}} steps: - run: python -V -- GitLab