diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 0965073..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,51 +0,0 @@ -on: - push: - branches: - - main - workflow_dispatch: - -name: Web Build -jobs: - build: - runs-on: x86_64 - steps: - - name: Checkout - uses: actions/checkout@v5 - - - name: Set version - run: | - if [[ "${GITHUB_REF}" == refs/heads/main ]]; then - echo "RELEASE_VERSION=latest" >> $GITHUB_ENV - else - echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV - fi - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to GHCR - uses: docker/login-action@v3 - with: - registry: git.mizuki.guru - username: ${{ secrets.DOCKER_USER }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Build and push Docker image - uses: docker/build-push-action@v3 - with: - context: . - file: ./Dockerfile - push: true - cache-from: type=gha - cache-to: type=gha,mode=max - tags: | - git.mizuki.guru/imnyang/imnya.ng:latest - git.mizuki.guru/imnyang/imnya.ng:${{ github.run_id }} - # update: - # runs-on: self-hosted - # steps: - # - name: Pull and restart container - # run: | - # docker-compose -f /home/neko/Git/imnya.ng/compose.yml pull web - # docker-compose -f /home/neko/Git/imnya.ng/compose.yml up -d web - # needs: build diff --git a/next.config.ts b/next.config.ts index 0963a4b..5382fc3 100644 --- a/next.config.ts +++ b/next.config.ts @@ -11,7 +11,7 @@ const nextConfig: NextConfig = { images: { remotePatterns: [new URL('https://api.imnya.ng/**')], }, - output: 'standalone', + // output: 'standalone', }; export default nextConfig;