From 49eb33e83a106843f9c54c308b57c047637a1023 Mon Sep 17 00:00:00 2001 From: Xeovalyte Date: Tue, 28 Nov 2023 16:19:40 +0100 Subject: [PATCH] Added working directory --- .gitea/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 69064af..fb3c6f3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,8 +14,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18 + - run: npm install + working-directory: ./website + - run: npm run build + working-directory: ./website - uses: docker/setup-qemu-action@v2 - uses: docker/setup-buildx-action@v2 @@ -27,8 +31,12 @@ jobs: password: ${{ secrets.PASSWORD }} - run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/portfolio:latest --load --platform=linux/amd64 . + working-directory: ./website - run: docker push gitea.xeovalyte.dev/xeovalyte/portfolio:latest + working-directory: ./website - run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm --load --platform=linux/arm64 . + working-directory: ./website - run: docker push gitea.xeovalyte.dev/xeovalyte/portfolio:latest-arm + working-directory: ./website