mirror of
https://github.com/kevin-DL/qovery-meilisearch-sample.git
synced 2026-01-11 10:54:30 +00:00
26 lines
681 B
YAML
26 lines
681 B
YAML
"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: sport-manaager-meilisearch
|
|
cluster: "1565"
|
|
host: https://dashboard.getporter.dev
|
|
namespace: default
|
|
project: "3008"
|
|
tag: ${{ steps.vars.outputs.sha_short }}
|
|
token: ${{ secrets.PORTER_TOKEN_3008 }}
|