backend - towards a better gitops deploy strategy #70
@@ -29,11 +29,14 @@ jobs:
|
|||||||
- name: Login
|
- name: Login
|
||||||
run: |
|
run: |
|
||||||
./tea login add --url git.kluster.moll.re --name bot --token ${{ secrets.GITEA_TOKEN }}
|
./tea login add --url git.kluster.moll.re --name bot --token ${{ secrets.GITEA_TOKEN }}
|
||||||
|
./tea login default
|
||||||
- name: Post comment
|
- name: Post comment
|
||||||
run: |
|
run: |
|
||||||
./tea pr comment ${{ github.event.number }} "The backend has been deployed to staging with url https://pr-${{ github.event.number }}.anyway-stg.anydev.info. Check the deployment status in ArgoCD:
|
./tea comment --repo anydev/anyway ${{ github.event.number }} """
|
||||||
|
The backend has been deployed to staging with url https://pr-${{ github.event.number }}.anyway-stg.anydev.info. Check the deployment status in ArgoCD:
|
||||||
|
|
||||||
[](https://argocd.kluster.moll.re/applications/anydev-anyway-backend-stg-pr-${{ github.event.number }})"
|
[](https://argocd.kluster.moll.re/applications/anydev-anyway-backend-stg-pr-${{ github.event.number }})
|
||||||
|
"""
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
GITEA_BASE_URL: ${{ secrets.GITEA_BASE_URL }}
|
GITEA_BASE_URL: ${{ secrets.GITEA_BASE_URL }}
|
||||||
|
|||||||
Reference in New Issue
Block a user