From 6b7f4583836f99b448d7e9bbbc328f42c6f84169 Mon Sep 17 00:00:00 2001 From: i1li <74943880+i1li@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:20:57 -0600 Subject: [PATCH] i --- .github/workflows/deploy.yml | 19 ------------------- build.js | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 1cf63c9..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Deploy to GitHub Pages - -on: - push: - branches: - - main # Set this to your default branch name - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./dist - force_orphan: true # This creates a new history for the gh-pages branch diff --git a/build.js b/build.js index 00e895e..ee86e1f 100644 --- a/build.js +++ b/build.js @@ -2,7 +2,7 @@ const esbuild = require('esbuild'); const fs = require('fs'); const path = require('path'); let html = fs.readFileSync('src/index.html', 'utf8'); -const itemsToCopy = ['favicon.ico', '404.html', 'img', 'netlify.toml']; +const itemsToCopy = ['favicon.ico', '404.html', 'img']; const addComment = (content, fileType) => { const comment = "Hello and God bless! Christ is King! https://github.com/i1li/i"; switch(fileType) {