chore: comment out deployment step in Docker workflow
This commit is contained in:
28
.github/workflows/docker-publish.yml
vendored
28
.github/workflows/docker-publish.yml
vendored
@@ -65,17 +65,17 @@ jobs:
|
|||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
- name: Deploy to production server
|
# - name: Deploy to production server
|
||||||
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
# if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
||||||
uses: appleboy/ssh-action@v1.2.0
|
# uses: appleboy/ssh-action@v1.2.0
|
||||||
with:
|
# with:
|
||||||
host: ${{ secrets.SERVER_HOST }}
|
# host: ${{ secrets.SERVER_HOST }}
|
||||||
username: ${{ secrets.SERVER_USER }}
|
# username: ${{ secrets.SERVER_USER }}
|
||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
# key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
port: ${{ secrets.SERVER_PORT || 22 }}
|
# port: ${{ secrets.SERVER_PORT || 22 }}
|
||||||
script: |
|
# script: |
|
||||||
cd ${{ secrets.SERVER_PATH || '/root/crew-infrastructure' }}
|
# cd ${{ secrets.SERVER_PATH || '/root/crew-infrastructure' }}
|
||||||
export SLIPMATZ_WEB_TAG=main
|
# export SLIPMATZ_WEB_TAG=main
|
||||||
docker compose pull slipmatz_web
|
# docker compose pull slipmatz_web
|
||||||
docker compose up -d slipmatz_web
|
# docker compose up -d slipmatz_web
|
||||||
docker compose ps slipmatz_web
|
# docker compose ps slipmatz_web
|
||||||
|
|||||||
Reference in New Issue
Block a user