From d9b1b6f3ae1f48531075e3cfbcc7ed9f40c66eed Mon Sep 17 00:00:00 2001 From: HarelM Date: Thu, 11 Jan 2024 22:24:47 +0200 Subject: [PATCH] Fix docker deploy, remove unneeded files --- .codesandbox/ci.json | 4 ---- .github/workflows/deploy.yml | 5 ++--- package.json | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 .codesandbox/ci.json diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json deleted file mode 100644 index e34f6201a..000000000 --- a/.codesandbox/ci.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "packages": [], - "sandboxes": ["/"] -} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7a6c66fe3..e72e22cb9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,6 +21,5 @@ jobs: steps: - uses: actions/checkout@v4 - - run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u orangemug --password-stdin - - run: docker build -t docker.pkg.github.com/maputnik/editor/editor:main . - - run: docker push docker.pkg.github.com/maputnik/editor/editor:main + - run: docker build -t ghcr.io/maplibre/maputnik:main . + - run: docker push ghcr.io/maplibre/maputnik:main diff --git a/package.json b/package.json index 9fd3743a1..4036c623c 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "''", "scripts": { "start": "vite", - "build": "tsc && vite build", + "build": "tsc && vite build --base=/maputnik/", "lint": "eslint ./src ./cypress --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0", "test": "cypress run", "cy:open": "cypress open",