Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
introkun committed Mar 27, 2024
1 parent df26205 commit 154776f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ jobs:
username: ${{secrets.SSH_USERNAME}}

script: |
set -e
appName=oculus-deals-spider-bot
appDir=/opt/$appName
tempDir=$(mktemp -d /opt/oculus-deals-spider-bot.XXXXXXXXX)
mkdir $tempDir
tempDir=$(mktemp -d /tmp/oculus-deals-spider-bot.XXXXXXXXX)
rm -rf "$tempDir" # Remove existing temp directory if it exists
mkdir -p "$tempDir" # Recreate temp directory
cd $tempDir
git clone git@github.com:introkun/oculus-deals-spider-bot.git .
git clone https://github.com/introkun/oculus-deals-spider-bot.git .
echo "Installing app dependencies"
npm ci
Expand Down

0 comments on commit 154776f

Please # to comment.