|
@@ -1,8 +1,8 @@
|
|
|
"on":
|
|
"on":
|
|
|
push:
|
|
push:
|
|
|
- branches:
|
|
|
|
|
- - master
|
|
|
|
|
-name: Deploy to Porter
|
|
|
|
|
|
|
+ tags:
|
|
|
|
|
+ - production
|
|
|
|
|
+name: Deploy Porter to Production
|
|
|
jobs:
|
|
jobs:
|
|
|
build-go:
|
|
build-go:
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
@@ -78,10 +78,10 @@ jobs:
|
|
|
timeout-minutes: 20
|
|
timeout-minutes: 20
|
|
|
uses: porter-dev/porter-update-action@v0.1.0
|
|
uses: porter-dev/porter-update-action@v0.1.0
|
|
|
with:
|
|
with:
|
|
|
- app: production
|
|
|
|
|
- cluster: "8"
|
|
|
|
|
|
|
+ app: porter-ui
|
|
|
|
|
+ cluster: "9"
|
|
|
host: https://dashboard.internal-tools.getporter.dev
|
|
host: https://dashboard.internal-tools.getporter.dev
|
|
|
namespace: default
|
|
namespace: default
|
|
|
- project: "1"
|
|
|
|
|
|
|
+ project: "5"
|
|
|
tag: ${{ steps.vars.outputs.sha_short }}
|
|
tag: ${{ steps.vars.outputs.sha_short }}
|
|
|
- token: ${{ secrets.PORTER_TOKEN_1 }}
|
|
|
|
|
|
|
+ token: ${{ secrets.PORTER_TOKEN_5 }}
|