From 15abeab3e1a2137ff334a385ad4a1c15b498f60d Mon Sep 17 00:00:00 2001 From: Bruno Perel Date: Mon, 26 Aug 2024 22:07:22 +0200 Subject: [PATCH] WIP calculate changed apps --- .github/workflows/deploy.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fc7667839..bb10eb3bb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,6 +14,14 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + + - name: Log in to the Container registry + uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Derive appropriate SHAs for base and head for `nx affected` commands uses: nrwl/nx-set-shas@v4 with: @@ -56,9 +64,8 @@ jobs: env: PRODUCTION_SSH_HOST: ${{ secrets.PRODUCTION_SSH_HOST }} PRODUCTION_SSH_USER: ${{ secrets.PRODUCTION_SSH_USER }} - PRODUCTION_SSH_KEY: ${{ secrets.PRODUCTION_SSH_KEY_2 }} + PRODUCTION_SSH_KEY: ${{ secrets.PRODUCTION_SSH_KEY }} run: | - echo $PRODUCTION_SSH_USER | base64 turbo $changedAppsCommitFilter -F '!~ci' -F '!~dumili' -F '!~dumili-api' --concurrency 1 prod:transfer-files-pre - name: Build and push Docker images