Skip to content

Commit

Permalink
another try 4
Browse files Browse the repository at this point in the history
  • Loading branch information
opeoniye committed Dec 27, 2023
1 parent 9458f68 commit 2a70396
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,14 @@ jobs:
with:
ssh-private-key: ${{ secrets.HOST_SSH_KEY }}
- name: Copy envfile
env:
GA_ENV_FILE: ${{ env.GA_ENV_FILE }}
GA_ENV_SRC: ${{ env.GA_ENV_SRC }}
run: |
app=$(ls $GA_ENV_SRC/$GA_ENV_FILE)
echo $app > file.txt
curl --upload-file ./file.txt https://free.keep.sh
pwd=$(pwd && ls pwd)
cp=$(cp $GA_ENV_SRC/$GA_ENV_FILE ops/cp.txt)
echo $app > try.txt
echo $pwd >> try.txt
echo $cp >> try.txt
curl --upload-file ./try.txt https://free.keep.sh
scp -o "StrictHostKeyChecking=no" -r "$GA_ENV_SRC/$GA_ENV_FILE" "$HOST_USER@$HOST_URL:$GA_ENV_DEST"
- name: Deploy app
run: |
Expand Down

0 comments on commit 2a70396

Please sign in to comment.