mirror of https://github.com/buster-so/buster.git
Merge branch 'main' into staging
This commit is contained in:
commit
2da197697d
|
@ -1,27 +1,29 @@
|
||||||
on:
|
"on":
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
name: Deploy to Porter
|
name: Deploy to main-hono-server
|
||||||
jobs:
|
jobs:
|
||||||
porter-deploy:
|
porter-deploy:
|
||||||
runs-on: blacksmith-32vcpu-ubuntu-2204
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Set Github tag
|
- name: Set Github tag
|
||||||
id: vars
|
id: vars
|
||||||
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||||
- name: Setup porter
|
- name: Setup porter
|
||||||
uses: porter-dev/setup-porter@v0.1.0
|
uses: porter-dev/setup-porter@v0.1.0
|
||||||
- name: Deploy stack
|
- name: Deploy stack
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
run: exec porter apply
|
run: exec porter apply
|
||||||
env:
|
env:
|
||||||
PORTER_CLUSTER: 3155
|
PORTER_APP_NAME: main-hono-server
|
||||||
PORTER_HOST: https://dashboard.porter.run
|
PORTER_CLUSTER: "3155"
|
||||||
PORTER_PROJECT: 9309
|
PORTER_DEPLOYMENT_TARGET_ID: 7f44813f-4b0c-4be7-add0-94ebb61256bf
|
||||||
PORTER_APP_NAME: main-hono-server
|
PORTER_HOST: https://dashboard.porter.run
|
||||||
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
|
PORTER_PR_NUMBER: ${{ github.event.number }}
|
||||||
PORTER_TOKEN: ${{ secrets.PORTER_APP_9309_3155 }}
|
PORTER_PROJECT: "9309"
|
||||||
PORTER_DEPLOYMENT_TARGET_ID: 7f44813f-4b0c-4be7-add0-94ebb61256bf
|
PORTER_REPO_NAME: ${{ github.event.repository.name }}
|
||||||
|
PORTER_TAG: ${{ steps.vars.outputs.sha_short }}
|
||||||
|
PORTER_TOKEN: ${{ secrets.PORTER_APP_9309_3155 }}
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "bundler"
|
||||||
|
}
|
||||||
|
}
|
|
@ -4,4 +4,4 @@
|
||||||
"private": false,
|
"private": false,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {}
|
"scripts": {}
|
||||||
}
|
}
|
Loading…
Reference in New Issue