Skip to content

A GitHub Action for syncing between Github and NCP SourceCommit Using SSH

License

Notifications You must be signed in to change notification settings

brictoworks/github-sourcecommit-sync-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-sourcecommit-sync-action

A GitHub Action for syncing between Github and NCP SourceCommit Using SSH

Input (Use [Github Settings > Security > Secrets and variables] )

  • Enter remote url ex: ssh://devtools.ncloud.com/<givennumber>/<repositoryname>.git
  • Enter ssh_private_key created on Local Machine
  • Enter the ssh_key created in ncloud through the above private_key
  • Enter host url default: devtools.ncloud.com

Usage

name: github-sourcecommit-sync

on:
  push:
    tags-ignore:
      - '*'
    branches:
      - '*'

jobs:
  sync:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Sync up to SourceCommit
        uses: brictoworks/github-sourcecommit-sync-action@master
        with:
          repository_url: ${{ secrets.TEST_REPOSITORY_URL }}
          ssh_private_key: ${{ secrets.TEST_SSH_PRIVATE_KEY }}
          ssh_key: ${{ secrets.TEST_SSH_KEY }}

About

A GitHub Action for syncing between Github and NCP SourceCommit Using SSH

Resources

License

Stars

Watchers

Forks

Packages

No packages published