diff --git a/.github/workflows/staging-docker.yml b/.github/workflows/staging-docker.yml index 9d30977a..a369b2c9 100644 --- a/.github/workflows/staging-docker.yml +++ b/.github/workflows/staging-docker.yml @@ -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' @@ -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