Skip to content

Commit

Permalink
chore: rm gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat committed Jun 26, 2024
1 parent a3bc3ef commit b780509
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 222 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,7 @@ jobs:

- name: Build
working-directory: '.'
run: yarn build:pages

- name: Update `gh-pages` branch
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
run: yarn build

- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"license": "GPL-3.0-only",
"scripts": {
"build": "tsc && vite build --base '/'",
"build:pages": "tsc && vite build --base '/polkadot-staking-dashboard/'",
"clear": "rm -rf node_modules build tsconfig.tsbuildinfo yarn.lock",
"deploy:pages": "yarn build:pages && gh-pages -d build",
"dev": "vite",
"lint": "eslint . --fix && npx prettier --write . && npx prettier --write ./.scripts && node ./.scripts/localeOrderKeys.cjs",
"locale:order": "node ./.scripts/localeOrderKeys.cjs",
Expand Down Expand Up @@ -88,7 +86,6 @@
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-unused-imports": "3.2.0",
"gh-pages": "^6.1.1",
"prettier": "^3.3.1",
"prettier-plugin-organize-imports": "^3.2.4",
"sass": "^1.77.4",
Expand Down
Loading

0 comments on commit b780509

Please sign in to comment.