From 5bd0bf1a958ff607d5f9da4cd1d8364b1a4bc3a7 Mon Sep 17 00:00:00 2001 From: Minhyeok Park Date: Sun, 27 Oct 2024 14:06:13 +0900 Subject: [PATCH] chore(fix): use dist folder for output --- .gitea/workflows/deploy_site.yml | 9 +++++---- tsconfig.app.tsbuildinfo | 1 + tsconfig.node.tsbuildinfo | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 tsconfig.app.tsbuildinfo create mode 100644 tsconfig.node.tsbuildinfo diff --git a/.gitea/workflows/deploy_site.yml b/.gitea/workflows/deploy_site.yml index cebc8a6..b6fee6c 100644 --- a/.gitea/workflows/deploy_site.yml +++ b/.gitea/workflows/deploy_site.yml @@ -10,9 +10,10 @@ jobs: - run: | curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash - apt-get install -y nodejs + wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /tmp/mc + chmod +x /tmp/mc + /tmp/mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }} - run: npm i - - run: wget https://dl.min.io/client/mc/release/linux-arm64/mc -O /tmp/mc - - run: chmod +x /tmp/mc - - run: /tmp/mc alias set minio http://minio-service.minio.svc.cluster.local:9000 ${{ secrets.MINIO_ACCESS_KEY }} ${{ secrets.MINIO_SECRET_KEY }} - - run: /tmp/mc mirror $PWD/ minio/ptools --exclude '.git/*' --exclude '.gitea/*' --overwrite + - run: npm run build + - run: /tmp/mc mirror $PWD/dist/ minio/ptools --overwrite diff --git a/tsconfig.app.tsbuildinfo b/tsconfig.app.tsbuildinfo new file mode 100644 index 0000000..68b5ce2 --- /dev/null +++ b/tsconfig.app.tsbuildinfo @@ -0,0 +1 @@ +{"root":["./src/main.tsx","./src/vite-env.d.ts","./src/App/index.tsx","./src/App/AppLayout/index.tsx","./src/Components/Button.tsx","./src/Components/Input.tsx","./src/Components/TextArea.tsx","./src/Editor/index.tsx","./src/GlobalStates/EditorValueState.ts","./src/LandingAnimation/index.tsx","./src/TransformGrid/index.tsx","./src/TransformGridItem/index.tsx","./src/Transforms/Base64Transforms.ts","./src/Transforms/Transform.ts","./src/Transforms/URITransforms.ts"],"version":"5.6.3"} \ No newline at end of file diff --git a/tsconfig.node.tsbuildinfo b/tsconfig.node.tsbuildinfo new file mode 100644 index 0000000..75ea001 --- /dev/null +++ b/tsconfig.node.tsbuildinfo @@ -0,0 +1 @@ +{"root":["./vite.config.ts"],"version":"5.6.3"} \ No newline at end of file