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