Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
migrate: To Vanilla JS
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonKhew96 committed Jun 27, 2022
1 parent 5ba23a7 commit 608dffd
Show file tree
Hide file tree
Showing 83 changed files with 1,269 additions and 13,205 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
token: ${{secrets.PAT}}
- name: Scraping
run: |
cd tools && go run . && mv anigamer.json ../content/ && mv bilibili.json ../content/ && cd ..
cd tools && go run . && mv animad.json ../src/data/ && mv bilibili.json ../src/data/ && mv update.json ../src/data/ && cd ..
git config --global user.name 'Js0n'
git config --global user.email '[email protected]'
git commit -am "Automated update"
Expand Down
16 changes: 1 addition & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,8 @@ jobs:
- name: Install dependencies
run: yarn --frozen-lockfile

- name: Caching Gatsby
id: gatsby-cache-build
uses: actions/cache@v2
with:
path: |
public
.cache
key: ${{ runner.os }}-gatsby-build-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-gatsby-build-
- name: Build
run: GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true GATSBY_CPU_COUNT=2 yarn build --log-pages

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_dir: ./src
69 changes: 0 additions & 69 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,71 +1,2 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# dotenv environment variable files
.env*

# gatsby files
.cache/
public

# Mac files
.DS_Store

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity

script/
4 changes: 0 additions & 4 deletions .prettierignore

This file was deleted.

4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

45 changes: 0 additions & 45 deletions .yarnclean

This file was deleted.

14 changes: 0 additions & 14 deletions LICENSE

This file was deleted.

105 changes: 0 additions & 105 deletions README.md

This file was deleted.

7 changes: 0 additions & 7 deletions gatsby-browser.js

This file was deleted.

59 changes: 0 additions & 59 deletions gatsby-config.js

This file was deleted.

31 changes: 0 additions & 31 deletions gatsby-node.js

This file was deleted.

7 changes: 0 additions & 7 deletions gatsby-ssr.js

This file was deleted.

Loading

0 comments on commit 608dffd

Please sign in to comment.