test
This commit is contained in:
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@@ -14,15 +14,11 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container:
|
container:
|
||||||
image: node:20-alpine
|
image: docker:dind
|
||||||
volumes:
|
volumes:
|
||||||
- /var/docker-web:/var/docker-web
|
- /var/docker-web:/var/docker-web
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install deps
|
|
||||||
run: npm install -g pnpm && pnpm install --frozen-lockfile
|
|
||||||
- name: Build Nuxt
|
|
||||||
run: pnpm build
|
|
||||||
- name: Deploy with docker-web
|
- name: Deploy with docker-web
|
||||||
run: |
|
run: |
|
||||||
APP_DIR="/var/docker-web/apps/${GITHUB_REPOSITORY##*/}"
|
APP_DIR="/var/docker-web/apps/${GITHUB_REPOSITORY##*/}"
|
||||||
|
|||||||
Reference in New Issue
Block a user