mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 00:42:43 +08:00
feat: add Heroku
This commit is contained in:
23
.github/workflows/heroku.yml
vendored
Normal file
23
.github/workflows/heroku.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: akhileshns/heroku-deploy@v3.7.8 # This is the action
|
||||
with:
|
||||
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
|
||||
heroku_app_name: ${{secrets.APP_NAME}} #Must be unique in Heroku
|
||||
heroku_email: ${{secrets.EMAIL}}
|
||||
usedocker: true
|
||||
# docker_build_args: |
|
||||
# NODE_ENV
|
||||
# SECRET_KEY
|
||||
env:
|
||||
NODE_ENV: production
|
||||
SECRET_KEY: ${{ secrets.MY_SECRET_KEY }}
|
||||
UUID: ${{ secrets.HEROKU_V2RAY_UUID }}
|
||||
Reference in New Issue
Block a user