Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jonassimoen committed Oct 21, 2023
1 parent 83f5ec3 commit 3184783
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
mkdir -p ~/.ssh
chmod 700 ~/.ssh
echo 'echo $SSH_PASSPHRASE' > ~/.ssh/passphrase && chmod 700 ~/.ssh/passphrase
SSH_ASKPASS_REQUIRE=force SSH_ASKPASS="/root/.ssh/pass" ssh-add $SSH_PRIVATE_KEY
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm install yarn -g
Expand All @@ -32,9 +31,7 @@ jobs:
run: |
which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
eval $(ssh-agent -s)
cat $SSH_PRIVATE_KEY | tr -d '\r' | DISPLAY=None SSH_ASKPASS=~/.ssh/passphrase ssh-add -
mkdir -p ~/.ssh
chmod 700 ~/.ssh
SSH_ASKPASS_REQUIRE=force SSH_ASKPASS="~/.ssh/passphrase" ssh-add $SSH_PRIVATE_KEY
ssh-keyscan $SERVER_IP >> ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
scp -r build/* root@$SERVER_IP:/var/www/html/fantasy.simoen.tech/_work/edd-APP/edd-APP/build

0 comments on commit 3184783

Please sign in to comment.