File tree Expand file tree Collapse file tree 2 files changed +16
-8
lines changed
Expand file tree Collapse file tree 2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,16 @@ name: Git Push into Another Repo to Deploy to Vercel
22
33on :
44 push :
5- branches : [main ]
5+ branches : [dev ]
66
77jobs :
88 build :
99 runs-on : ubuntu-latest
10- container : pandoc/latex
1110 steps :
12- - uses : actions/checkout@v2
11+ - uses : actions/checkout@v3
1312
1413 - name : Install mustache (to update the date)
15- run : apk add ruby && gem install mustache
14+ run : sudo apt update && sudo apt install -y ruby && gem install mustache
1615
1716 - name : Creates output
1817 run : sh ./build.sh
2726 destination-github-username : KingNono1030
2827 destination-repository-name : frontend_fork
2928 user-email : ${{ secrets.OFFICIAL_ACCOUNT_EMAIL }}
30- commit-message : ${{ github.event.head_commit.message }}
31- target-branch : main
29+ commit-message : ${{ github.event.head_commit.message || 'Auto-deployed from GitHub Actions' }}
30+ target-branch : dev
3231
3332 - name : Test Get Variable Exported by Push-to-Another-Repository
3433 run : echo $DESTINATION_CLONED_DIRECTORY
Original file line number Diff line number Diff line change 11#! /bin/sh
2- cd ../
2+
3+ # μ΅μμ λλ ν λ¦¬λ‘ μ΄λ
4+ cd " $( dirname " $0 " ) " /..
5+
6+ # output λλ ν 리 μμ± (μ΄λ―Έ μ‘΄μ¬νλ©΄ μμ ν μμ±)
7+ rm -rf output
38mkdir output
9+
10+ # frontend ν΄λ λ΄ λͺ¨λ νμΌμ outputμΌλ‘ 볡μ¬
411cp -R ./frontend/* ./output
5- cp -R ./output ./frontend/
12+
13+ # νμΈμ μν΄ echo λ©μμ§ μΆκ°
14+ echo " Files copied to output directory."
You canβt perform that action at this time.
0 commit comments