-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (26 loc) · 854 Bytes
/
cd.yml
File metadata and controls
32 lines (26 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CD
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
container:
image: pandoc/latex
steps:
- uses: actions/checkout@v3
- name: creates output
run: sh ./build.sh
- name: Pushes to origin repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.AUTO_ACTIONS }}
with:
source-directory: "output"
destination-github-username: sayyyho
destination-repository-name: WorkPlate-Client
user-email: "323psh@naver.com"
commit-message: "[Update] WorkPlate is updated upstream/main -> origin/main by the trigger"
- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY