From e8867fd13e46773d578c8868c6a7e94149c97089 Mon Sep 17 00:00:00 2001 From: Menna Tullah Magdy Taha Date: Tue, 23 Apr 2024 13:05:14 +0200 Subject: [PATCH] Added commands for creating student's submodule --- .github/workflows/create-image.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-image.yml b/.github/workflows/create-image.yml index 875051c..eb85cb8 100644 --- a/.github/workflows/create-image.yml +++ b/.github/workflows/create-image.yml @@ -7,6 +7,10 @@ on: githubRepo: description: "Link of public github repo to deploy" required: true + inputs: + githubRepo: + description: "Link of public github repo to deploy" + required: true jobs: create_docker_image: @@ -41,7 +45,7 @@ jobs: cd ./submissions-${year} - name: Add student's repo as a submodule - - run: | + run: | user_name=username=$(echo "${githubRepo}" | cut -d'/' -f4) repo_name=$(echo "${githubRepo}" | cut -d'/' -f5)