Fix usage error handling (#4656) #1310
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"on": | |
push: | |
branches: | |
- master | |
name: Deploy Porter to Internal Tooling | |
jobs: | |
build-go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: build-go | |
uses: ./.github/actions/build-go | |
build-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: build-npm | |
uses: ./.github/actions/build-npm | |
with: | |
env_vars: ${{ vars.DASHBOARD_ENV_INTERNAL_TOOLS }} | |
porter-deploy: | |
runs-on: ubuntu-latest | |
needs: [build-go, build-npm] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: porter-deploy | |
timeout-minutes: 30 | |
uses: ./.github/actions/porter-deploy | |
with: | |
app: porter-ui | |
cluster: "11" | |
host: https://dashboard.internal-tools.porter.run | |
project: "8" | |
token: ${{ secrets.PORTER_INTERNAL_TOOLS_DEPLOYMENT }} |