Skip to content

Merge pull request #26 from TeamRecorDream/develop #7

Merge pull request #26 from TeamRecorDream/develop

Merge pull request #26 from TeamRecorDream/develop #7

Workflow file for this run

name: Deploy
on:
# main ๋ธŒ๋žœ์น˜์— ํ‘ธ์‹œํ•˜๋ฉด ํŒ€ ๋ ˆํฌ forkํ•œ ๊ฐœ์ธ ๋ ˆํฌ Vercel ์ž๋™ ๋ฐฐํฌ๋˜๋„๋ก ์„ค์ •
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
container: pandoc/latex
steps:
# workflow์— ์†ํ•œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์— ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๋„๋ก ์„ค์ •
- name: Checkout repository
uses: actions/checkout@v4
- name: Install mustache (to update the date)
run: apk add ruby && gem install mustache
- name: creates output
run: sh ./build.sh
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.AUTH_TOKEN }}
with:
source-directory: 'output'
destination-github-username: urjimyu
destination-repository-name: RecorDream-Web
user-email: ${{ secrets.OFFICIAL_ACCOUNT_EMAIL }}
commit-message: ${{ github.event.commits[0].message }}
target-branch: main
- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY