mirror of
https://github.com/getlago/lago.git
synced 2025-01-03 13:30:02 +07:00
Create porter_test.yml file
This commit is contained in:
parent
4aaa93bd06
commit
e9a8281738
25
.github/workflows/porter_test.yml
vendored
Normal file
25
.github/workflows/porter_test.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
"on":
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
name: Deploy to Porter
|
||||
jobs:
|
||||
porter-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2.3.4
|
||||
- name: Set Github tag
|
||||
id: vars
|
||||
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
||||
- name: Update Porter App
|
||||
timeout-minutes: 20
|
||||
uses: porter-dev/porter-update-action@v0.1.0
|
||||
with:
|
||||
app: test
|
||||
cluster: "1689"
|
||||
host: https://dashboard.getporter.dev
|
||||
namespace: default
|
||||
project: "2643"
|
||||
tag: ${{ steps.vars.outputs.sha_short }}
|
||||
token: ${{ secrets.PORTER_TOKEN_2643 }}
|
Loading…
Reference in New Issue
Block a user