Skip to content

Commit

Permalink
Merge pull request #38 from chingu-voyages/development
Browse files Browse the repository at this point in the history
Add repo sync script that merges changes from production to personal repo.
  • Loading branch information
aasmal97 authored Oct 11, 2023
2 parents 452c198 + 3a63059 commit 838a786
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1,599 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy_to_private_repo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Deploy to Private Repo'
on:
push:
branches:
- main
jobs:
Clone-to-Target-Repo:
runs-on: ubuntu-latest
environment:
name: ci-cd-env
steps:
- uses: actions/checkout@v4
- name: "Build app and deploy to vercel"
uses: aasmal97/RepoSync@v1.1
with:
TARGET_REPO_URL: ${{secrets.STUDY_AI_REPO_URL}}
TARGET_REPO_BRANCH: main
TARGET_REPO_GITHUB_ACCESS_TOKEN: ${{ secrets.STUDY_AI_REPO_ACCESS_TOKEN }}
BOT_NAME: testing-bot
BOT_EMAIL: arkyasmal@gmail.com
Loading

0 comments on commit 838a786

Please sign in to comment.