Skip to content

Commit

Permalink
Rename artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
lenguyenthanh committed Dec 29, 2024
1 parent 56968aa commit 9ea26fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -44,7 +44,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: lila-search
name: stage
- name: Configure SSH
run: |
mkdir -p ~/.ssh
Expand All @@ -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"

0 comments on commit 9ea26fd

Please sign in to comment.