From 5178eb198dd4f1caefc7d793f05714ea36a22fc6 Mon Sep 17 00:00:00 2001 From: hadar-co Date: Wed, 4 Oct 2023 16:52:55 +0300 Subject: [PATCH] Update portCreateRepo.yaml --- .github/workflows/portCreateRepo.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/portCreateRepo.yaml b/.github/workflows/portCreateRepo.yaml index 89fbbfc..8baeb14 100644 --- a/.github/workflows/portCreateRepo.yaml +++ b/.github/workflows/portCreateRepo.yaml @@ -17,4 +17,17 @@ jobs: - uses: actions/checkout@v3 - id: echo-deploy run: echo ${{ inputs.name }} - + create-repository: + runs-on: ubuntu-latest + name: Creating Organization Repository + steps: + - name: Use Node.js + uses: actions/setup-node@v2 + - name: Creating GitHub Organization Repository + uses: repo-ctrl/create-repo-action@main + id: create-repo + with: + repo-name: '${{ inputs.name }}' + org-admin-token: '${{ secrets.ORG_ADMIN_TOKEN }}' + - name: Log URL to the repo + run: echo "The new repo is ${{ steps.create-repo.outputs.repo-url }}"