Skip to content

Commit

Permalink
fix: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
long2ice committed Jun 23, 2023
1 parent 38bf25e commit ca3f784
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,13 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
image-name: rearq
custom-args: --platform=linux/arm64,linux/amd64
deploy:
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Deploy
uses: appleboy/ssh-action@master
- name: Deploy telsearch
uses: steebchen/kubectl@v2.0.0
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd /root/docker/rearq/
docker compose up -d --pull always
config: ${{ secrets.KUBE_CONFIG }}
command: rollout restart deployment rearq

0 comments on commit ca3f784

Please sign in to comment.