Skip to content

Commit

Permalink
여러가지 에드
Browse files Browse the repository at this point in the history
  • Loading branch information
jaerius committed Jun 7, 2024
1 parent 17e6226 commit 11e0977
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy to Heroku

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Install dependencies
working-directory: ./my-replicate-app
run: npm install

- name: Deploy to Heroku
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: |
git remote add heroku https://git.heroku.com/calm-eyrie-10609.git
git subtree push --prefix my-replicate-app heroku main

0 comments on commit 11e0977

Please sign in to comment.