Do docker setup _before_ build, it's overwriting the _site directory
Some checks failed
Build and copy to prod / build-and-copy (push) Failing after 3m31s
Some checks failed
Build and copy to prod / build-and-copy (push) Failing after 3m31s
This commit is contained in:
parent
3b39d8d85f
commit
d30f404b4e
@ -15,6 +15,16 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 20.x
|
node-version: 20.x
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
- name: Login to gitea container registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.lewisdale.dev
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
- name: Install dependencies 📦
|
- name: Install dependencies 📦
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Cache build
|
- name: Cache build
|
||||||
@ -39,16 +49,6 @@ jobs:
|
|||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
OMNIVORE_API_KEY: ${{ secrets.OMNIVORE_API_KEY }}
|
OMNIVORE_API_KEY: ${{ secrets.OMNIVORE_API_KEY }}
|
||||||
UMAMI_API_KEY: ${{ secrets.UMAMI_API_KEY }}
|
UMAMI_API_KEY: ${{ secrets.UMAMI_API_KEY }}
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
- name: Login to gitea container registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: git.lewisdale.dev
|
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user