Skip to content

Commit

Permalink
Update portCreateRepo.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hadar-co authored Oct 4, 2023
1 parent 9edc9f2 commit 5178eb1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/portCreateRepo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 5178eb1

Please sign in to comment.