mirror of
https://github.com/kevin-DL/qovery-meilisearch-sample.git
synced 2026-01-11 10:54:30 +00:00
Create porter_sport_manaager_meilisearch.yml file
This commit is contained in:
committed by
GitHub
parent
a28fbb36cd
commit
98e0696fd5
25
.github/workflows/porter_sport_manaager_meilisearch.yml
vendored
Normal file
25
.github/workflows/porter_sport_manaager_meilisearch.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: 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 }}
|
||||
Reference in New Issue
Block a user