Skip to content

Commit

Permalink
feat: 수동 배포 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JinleeJeong committed Mar 1, 2024
1 parent 95e1804 commit 9592c19
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
name: git push into JinleeJeong/dividend-client to deploy to vercel ⭐️

on:
push:
branches: [main]
push:
branches: [main]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
container: pandoc/latex
steps:
- uses: actions/checkout@v2
- 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.DIVIDEND_CLIENT_TOKEN }}
with:
source-directory: 'output'
destination-github-username: JinleeJeong
destination-repository-name: dividend-client
user-email: ${{ secrets.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
build:
runs-on: ubuntu-latest
container: pandoc/latex
steps:
- uses: actions/checkout@v2
- 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.DIVIDEND_CLIENT_TOKEN }}
with:
source-directory: "output"
destination-github-username: JinleeJeong
destination-repository-name: dividend-client
user-email: ${{ secrets.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

0 comments on commit 9592c19

Please sign in to comment.