Skip to content

Commit

Permalink
chore: add heroku deploy& update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinesmilelk authored and BroKun committed Sep 4, 2024
1 parent 8e7f224 commit 51077fa
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 3 deletions.
59 changes: 59 additions & 0 deletions .github/workflows/heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Your workflow name.
name: Deploy to heroku.

# Run workflow on every push to master branch.
on:
push:
branches: [main]

# Your workflows jobs.
jobs:
build:
runs-on: ubuntu-latest
steps:
# Check-out your repository.
- name: Checkout
uses: actions/checkout@v2


### ⬇ IMPORTANT PART ⬇ ###

- name: Build, Push and Release a Libro Lab Docker container to Heroku. # Your custom step name
uses: gonuit/[email protected] # GitHub action name (leave it as it is).
with:
# Below you must provide variables for your Heroku app.

# The email address associated with your Heroku account.
# If you don't want to use repository secrets (which is recommended) you can do:
# email: [email protected]
email: ${{ secrets.HEROKU_EMAIL }}

# Heroku API key associated with provided user's email.
# Api Key is available under your Heroku account settings.
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}

# Name of the heroku application to which the build is to be sent.
heroku_app_name: ${{ secrets.HEROKU_APP_NAME }}

# (Optional, default: "./")
# Dockerfile directory.
# For example, if you have a Dockerfile in the root of your project, leave it as follows:
dockerfile_directory: ./

# (Optional, default: "Dockerfile")
# Dockerfile name.
dockerfile_name: Dockerfile

# (Optional, default: "")
# Additional options of docker build command.
docker_options: "--no-cache"

# (Optional, default: "web")
# Select the process type for which you want the docker container to be uploaded.
# By default, this argument is set to "web".
# For more information look at https://devcenter.heroku.com/articles/process-model
process_type: web



### ⬆ IMPORTANT PART ⬆ ###
6 changes: 3 additions & 3 deletions lab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
},
"dependencies": {
"@ant-design/icons": "^5.3.6",
"@difizen/libro-jupyter": "^0.1.34",
"@difizen/libro-lab": "^0.1.34",
"@difizen/mana-app": "^0.1.8",
"@difizen/libro-jupyter": "^0.2.28",
"@difizen/libro-lab": "^0.2.28",
"@difizen/mana-app": "^0.1.25",
"@rjsf/antd": "^5.18.2",
"@rjsf/core": "^5.18.2",
"@rjsf/validator-ajv8": "^5.18.2",
Expand Down

0 comments on commit 51077fa

Please sign in to comment.