Deploy to install-script #214
Workflow file for this run
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: | |
tags: | |
- production | |
name: Deploy Install Script to Production | |
jobs: | |
porter-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set Github tag | |
id: vars | |
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
- name: Update Porter App | |
timeout-minutes: 20 | |
uses: porter-dev/[email protected] | |
with: | |
app: install-script | |
cluster: "9" | |
host: https://dashboard.internal-tools.porter.run | |
namespace: default | |
project: "5" | |
tag: ${{ steps.vars.outputs.sha_short }} | |
token: ${{ secrets.PORTER_TOKEN_5 }} |