Skip to content

Commit

Permalink
ci/cd: update password
Browse files Browse the repository at this point in the history
  • Loading branch information
ParzivalEugene committed Sep 2, 2024
1 parent 22006c8 commit de89705
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,19 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# deploy:
# needs: build
# runs-on: ubuntu-latest
# steps:
# - name: Deploy to server
# uses: appleboy/[email protected]
# with:
# host: ${{ secrets.SERVER_HOST }}
# username: ${{ secrets.SERVER_USERNAME }}
# password: ${{ secrets.SERVER_PASSWORD }}
# key: ${{ secrets.SERVER_SSH_KEY }}
# port: ${{ secrets.SERVER_PORT }}
# script: |
# docker-compose down links
# docker-compose pull
# docker-compose up links -d

deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Deploy to server
uses: appleboy/[email protected]
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
key: ${{ secrets.SERVER_SSH_KEY }}
port: ${{ secrets.SERVER_PORT }}
script: |
docker-compose down links
docker-compose pull
docker-compose up links -d
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "links",
"version": "0.4.6",
"version": "0.4.8",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit de89705

Please sign in to comment.