chore: remove old script from deploy
All checks were successful
Deploy eolas-api / deploy (push) Successful in 13s
All checks were successful
Deploy eolas-api / deploy (push) Successful in 13s
This commit is contained in:
parent
6adfeb3f9a
commit
2e281eae7d
1 changed files with 0 additions and 20 deletions
|
|
@ -1,21 +1,3 @@
|
|||
# name: Deploy eolas-api
|
||||
# on:
|
||||
# push:
|
||||
# branches: [main]
|
||||
# jobs:
|
||||
# deploy:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
# - run: |
|
||||
# echo "${{ secrets.VPS_DEPLOY_USER_SSH_KEY }}" > /tmp/ssh_key
|
||||
# chmod 600 /tmp/ssh_key
|
||||
# ssh -i /tmp/ssh_key -o StrictHostKeyChecking=no ${{ vars.VPS_DEPLOY_USER }} "bash -c 'cd /var/www/eolas-api && rm -rf * .[^.]*'"
|
||||
# scp -i /tmp/ssh_key -o StrictHostKeyChecking=no -r ./* ${{ vars.VPS_DEPLOY_USER }}:/var/www/eolas-api/
|
||||
# rm /tmp/ssh_key
|
||||
#
|
||||
#
|
||||
|
||||
name: Deploy eolas-api
|
||||
on:
|
||||
push:
|
||||
|
|
@ -60,10 +42,8 @@ jobs:
|
|||
echo "new_tag=$new_tag" >> $GITHUB_OUTPUT
|
||||
echo "new_version=$new_version" >> $GITHUB_OUTPUT
|
||||
|
||||
# Save commit message for later (escape newlines)
|
||||
echo "$commit_msg" > /tmp/commit_msg.txt
|
||||
|
||||
# Update package.json
|
||||
sed -i "s/\"version\": \".*\"/\"version\": \"$new_version\"/" package.json
|
||||
|
||||
- name: Commit version change
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue