From 9ea26fd15f2513d7850e32990d03bdc5b868daa7 Mon Sep 17 00:00:00 2001 From: Thanh Le Date: Sun, 29 Dec 2024 15:30:37 +0700 Subject: [PATCH] Rename artifact --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c449e72..39eb3cc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,7 +30,7 @@ jobs: - run: sbt stage - uses: actions/upload-artifact@v4 with: - name: lila-search + name: stage path: modules/app/target/universal/stage deploy-lila-search: @@ -44,7 +44,7 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: lila-search + name: stage - name: Configure SSH run: | mkdir -p ~/.ssh @@ -67,5 +67,5 @@ jobs: - name: Deploy via SSH # ssh $REMOTE "chown -R lila-search:lila-search /home/lila-search && systemctl restart lila-search" - run: cat lila-search | ssh deploy-host "cat - > /home/lichess-search" - # run: cat lila-search | ssh deploy-host "cat - > /home/lila-search && chown -R lila-search:lila-search && systemctl restart lila-search" + run: cat stage | ssh deploy-host "ls && cat - > /home/lichess-search" + # run: cat stage | ssh deploy-host "cat - > /home/lila-search && chown -R lila-search:lila-search && systemctl restart lila-search"