Skip to content

Commit

Permalink
Merge pull request #12 from dnd-side-project/OZ-60-CD
Browse files Browse the repository at this point in the history
Feat : CD 구축
  • Loading branch information
seondal committed Aug 13, 2023
2 parents 66a8335 + 7764ef0 commit 15607d2
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
addReviewers: false
addAssignees: author
addReviewers: true
addAssignees: true
reviewers:
- guesung
- seondal
skipKeywords:
- wip
numberOfReviewers: 0
27 changes: 27 additions & 0 deletions .github/workflows/cd-develop-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CD-develop branch

on:
push:
branches:
- 'develop'

jobs:
build:
runs-on: ubuntu-latest
container: pandoc/latex
steps:
- uses: actions/checkout@v2
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.PERSONAL_TOKEN }}
with:
source-directory: '.'
destination-github-username: guesung
destination-repository-name: posepicker-for-publish
user-email: [email protected]
commit-message: ${{ github.event.commits[0].message }}
target-branch: develop
- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY
27 changes: 27 additions & 0 deletions .github/workflows/cd-feature-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CD-feature branch

on:
push:
branches:
- 'feature/**'

jobs:
build:
runs-on: ubuntu-latest
container: pandoc/latex
steps:
- uses: actions/checkout@v2
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.PERSONAL_TOKEN }}
with:
source-directory: '.'
destination-github-username: guesung
destination-repository-name: posepicker-for-publish
user-email: [email protected]
commit-message: ${{ github.event.commits[0].message }}
target-branch: feature
- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY

0 comments on commit 15607d2

Please sign in to comment.