diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5348e17..9d090f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/ssh-action@v1.0.3 - # 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/ssh-action@v1.0.3 + 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 diff --git a/package.json b/package.json index 734932f..a02df03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "links", - "version": "0.4.6", + "version": "0.4.8", "private": true, "scripts": { "dev": "next dev",