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 5, 2023
1 parent 60e3671 commit 6348752
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions .github/workflows/portCreateRepo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,28 @@ on:
description: "Port's payload, including details for who triggered the action and general context (blueprint, run id, etc...)"
type: string
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: echo-deploy
run: echo ${{ inputs.name }} \
sleep 2 \
echo "another line"



create-repository:
runs-on: ubuntu-latest
name: Creating Organization Repository
steps:
- name: another
uses: octobay/create-repository-action@v1
with:
name: '${{ inputs.name }}'
org: 'hadar-co'
access-token: 'portAction'
private-repo: true
initalize-repo: true
- 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 6348752

Please sign in to comment.