Skip to content

[Docs] - setting CD

[Docs] - setting CD #1

Workflow file for this run

name: Deploy
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: F4_Front
user-email: "[email protected]"
commit-message: "배포"
- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY