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