mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 17:12:33 +08:00
30 lines
811 B
YAML
30 lines
811 B
YAML
on:
|
|
workflow_dispatch:
|
|
branches:
|
|
- main
|
|
inputs:
|
|
testinput:
|
|
description: "test"
|
|
default: "test"
|
|
|
|
jobs:
|
|
heroku-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: |
|
|
echo "testinput: ${{ github.event.inputs.testinput }}"
|
|
- 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 }}
|