File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : git push into another repo to deploy to vercel
2+
3+ on :
4+ push :
5+ branches : [dev]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ container : pandoc/latex
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Install mustache (to update the date)
14+ run : apk add ruby && gem install mustache
15+ - name : creates output
16+ run : sh ./build.sh
17+ - name : Pushes to another repository
18+ id : push_directory
19+ uses : cpina/github-action-push-to-another-repository@main
20+ env :
21+ API_TOKEN_GITHUB : ${{ secrets.HYEON_GITHUB_KEY }}
22+ with :
23+ source-directory : ' output'
24+ destination-github-username : titeotty
25+ destination-repository-name : dasom-web-frontend
26+ user-email : ${{ secrets.HYEON_ACCOUNT_EMAIL }}
27+ commit-message : ${{ github.event.commits[0].message }}
28+ target-branch : main
29+ - name : Test get variable exported by push-to-another-repository
30+ run : echo $DESTINATION_CLONED_DIRECTORY
You can’t perform that action at this time.
0 commit comments