diff --git a/.github/workflows/bd.yml b/.github/workflows/css.yml similarity index 58% rename from .github/workflows/bd.yml rename to .github/workflows/css.yml index f28d200..c87045a 100644 --- a/.github/workflows/bd.yml +++ b/.github/workflows/css.yml @@ -1,10 +1,9 @@ -name: "Build and deploy CSS for BetterDiscord" +name: "Build and deploy CSS" on: push: branches: - main - - master jobs: build: @@ -13,15 +12,13 @@ jobs: steps: - name: Checkout theme - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 18 + uses: actions/setup-node@v4 - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: latest @@ -29,11 +26,12 @@ jobs: run: pnpm install - name: Build CSS - run: pnpm run build:bd + run: pnpm run build:css - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_branch: deploy - publish_dir: "./" \ No newline at end of file + publish_dir: "./" + enable_jekyll: true \ No newline at end of file diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7290c29..3d734a1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,17 +13,15 @@ jobs: steps: - name: Checkout theme - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 18 + uses: actions/setup-node@v4 - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: - version: latest + version: latest - name: Install dependencies run: pnpm install diff --git a/.github/workflows/rp.yml b/.github/workflows/release.yml similarity index 78% rename from .github/workflows/rp.yml rename to .github/workflows/release.yml index 68562bd..53ef076 100644 --- a/.github/workflows/rp.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Release for Replugged +name: Release on: push: @@ -14,15 +14,13 @@ jobs: steps: - name: Checkout theme - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup node - uses: actions/setup-node@v3 - with: - node-version: 18 + uses: actions/setup-node@v4 - name: Setup pnpm - uses: pnpm/action-setup@v2 + uses: pnpm/action-setup@v4 with: version: latest diff --git a/package.json b/package.json index 7cc1de6..0d4919b 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dev:rp": "replugged build theme --watch", "dev:vc": "bd-scss dev:vc", "dev:vt": "bd-scss dev:vt", - "build:bd": "bd-scss build", + "build:css": "bd-scss build", "build:rp": "replugged bundle theme", "lint": "prettier ./scss --check", "lint:fix": "prettier ./scss --write --log-level warn",