Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: change gitops repo for stg #505

Merged
merged 2 commits into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/staging-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,18 @@ jobs:

- uses: actions/checkout@v2
with:
repository: aeternity/gitops-apps.git
repository: aeternity/gitops-apps-aelabs
token: ${{ secrets.BOT_GITHUB_TOKEN }}
ref: stg
persist-credentials: false
fetch-depth: 0


- name: Check the initial PR deployment status before make a PR Sync.
if: github.event_name == 'pull_request' && github.event.action == 'synchronize'
uses: aeternity/ae-github-actions/deploy-status@v7
with:
url: https://pr-${{ env.PR_NUMBER }}-${{ env.APP }}.${{ env.ENV }}.aepps.com
url: https://pr-${{ env.PR_NUMBER }}-${{ env.APP }}.${{ env.ENV }}.service.aepps.com

- name: Staging PR Sync
if: github.event_name == 'pull_request' && github.event.action == 'synchronize'
Expand Down Expand Up @@ -127,12 +129,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: Deployed to https://pr-${{ env.PR_NUMBER }}-${{ env.APP }}.${{ env.ENV }}.aepps.com
msg: Deployed to https://pr-${{ env.PR_NUMBER }}-${{ env.APP }}.${{ env.ENV }}.service.aepps.com
check_for_duplicate_msg: true

- name: Push changes
uses: ad-m/github-push-action@master
with:
repository: aeternity/gitops-apps
repository: aeternity/gitops-apps-aelabs
github_token: ${{ secrets.BOT_GITHUB_TOKEN }}
branch: stg
Loading