Skip to content

Commit 2609e7e

Browse files
committed
Added output to create-image workflow
1 parent e24cd46 commit 2609e7e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/create-image.yml

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
githubRepo:
77
description: "Link of public github repo to deploy"
88
required: true
9+
outputs:
10+
student_url:
11+
description: "Link of student's repository"
12+
value: ${{ jobs.get_students_url.outputs.student_url }}
913

1014
jobs:
1115
create_student_submodule:
@@ -88,3 +92,9 @@ jobs:
8892
repo_name: ${{ needs.dockerise-image.outputs.repo_name }}
8993
year: ${{ needs.dockerise-image.outputs.year }}
9094
image: ${{ needs.dockerise-image.outputs.image_name }}
95+
96+
get_students_url:
97+
runs-on: ubuntu-latest
98+
needs: trigger_deployment
99+
outputs:
100+
student_url: ${{ needs.trigger_deployment.outputs.student_url }}

0 commit comments

Comments
 (0)