Mount deploy paths in Gitea job containers
This commit is contained in:
@@ -11,6 +11,10 @@ jobs:
|
||||
deploy-dev:
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
volumes:
|
||||
- /deploy/FlockPal-dev:/deploy/FlockPal-dev
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
steps:
|
||||
- name: Deploy dev
|
||||
run: |
|
||||
@@ -23,6 +27,10 @@ jobs:
|
||||
deploy-prod:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
volumes:
|
||||
- /deploy/FlockPal:/deploy/FlockPal
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
steps:
|
||||
- name: Deploy prod
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user