File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed
Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 1010 workflow_dispatch :
1111
1212concurrency :
13- group : docs
13+ group : blokmap- docs
1414 cancel-in-progress : true
1515
1616jobs :
@@ -51,18 +51,20 @@ jobs:
5151 cache-from : type=registry,ref=ghcr.io/blokmap/blokmap-docs:buildcache
5252 cache-to : type=registry,ref=ghcr.io/blokmap/blokmap-docs:buildcache,mode=max
5353
54- # release:
55- # runs-on: self-hosted
56- # needs: [build]
57- # steps:
58- # - name: Deploy docs
59- # uses: appleboy/ssh-action@v1.2.1
60- # with:
61- # host: ${{ secrets.PRODUCTION_HOST }}
62- # username: ${{ secrets.PRODUCTION_USERNAME }}
63- # key: ${{ secrets.PRODUCTION_SSH_KEY }}
64- # debug: true
65- # script: |
66- # set -e
67- # docker compose -f /home/blokmap/deploy/production/compose.prod.yaml pull
68- # docker compose -f /home/blokmap/deploy/production/compose.prod.yaml up blokmap-prod-docs
54+ release :
55+ runs-on : self-hosted
56+ needs : [build]
57+ steps :
58+ - name : Deploy docs
59+ uses : appleboy/ssh-action@v1.2.1
60+ with :
61+ host : ${{ secrets.PRODUCTION_HOST }}
62+ username : ${{ secrets.PRODUCTION_USERNAME }}
63+ port : ${{ secrets.PRODUCTION_SSH_PORT }}
64+ key : ${{ secrets.PRODUCTION_SSH_KEY }}
65+ debug : true
66+ script : |
67+ set -e
68+ cd /home/blokmap/repos/deploy && git pull
69+ docker compose -f /home/blokmap/repos/deploy/production/compose/compose.production.yaml pull blokmap-docs
70+ docker compose -f /home/blokmap/repos/deploy/production/compose/compose.production.yaml up blokmap-docs
You can’t perform that action at this time.
0 commit comments