File tree Expand file tree Collapse file tree 2 files changed +18
-16
lines changed
Expand file tree Collapse file tree 2 files changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ 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+ # 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
Original file line number Diff line number Diff line change @@ -9,4 +9,6 @@ RUN npm install
99
1010COPY . .
1111
12- CMD [ "npm", "run", "docs:build" ]
12+ RUN npm run docs:build
13+
14+ CMD cp -r ./.vitepress/dist/* "${OUTPUT_DIR:-/well-known}/"
You can’t perform that action at this time.
0 commit comments