fixing cors issue and ci/cd
This commit is contained in:
@@ -73,19 +73,11 @@ jobs:
|
||||
chmod 600 ~/.ssh/key
|
||||
ssh-keyscan -H "${{ secrets.DEPLOY_HOST }}" >> ~/.ssh/known_hosts
|
||||
|
||||
printf '%s' "${{ secrets.FIREBASE_CREDENTIALS }}" > /tmp/firebase.json
|
||||
printf '%s' "${{ secrets.MAIL_CREDS }}" > /tmp/.creds
|
||||
|
||||
ssh -i ~/.ssh/key \
|
||||
"${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}" \
|
||||
"mkdir -p ~/programs/etf-oglasi-server/config"
|
||||
|
||||
scp -i ~/.ssh/key \
|
||||
/tmp/firebase.json \
|
||||
/tmp/.creds \
|
||||
"${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:~/programs/etf-oglasi-server/config/"
|
||||
|
||||
rm /tmp/firebase.json /tmp/.creds
|
||||
|
||||
ssh -i ~/.ssh/key \
|
||||
"${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}" \
|
||||
|
||||
Reference in New Issue
Block a user