Skip to content

Commit

Permalink
Merge pull request #4 from njt1982/rebuild
Browse files Browse the repository at this point in the history
Rebuild site in VueJS
  • Loading branch information
njt1982 authored Jun 1, 2020
2 parents a04ccbc + 1c00400 commit fae4361
Show file tree
Hide file tree
Showing 151 changed files with 9,973 additions and 25,539 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not dead
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
root: true,
env: {
node: true
},
extends: ["plugin:vue/essential", "eslint:recommended", "@vue/prettier"],
parserOptions: {
parser: "babel-eslint"
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off"
}
};
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Deploy site

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install
uses: borales/[email protected]
with:
cmd: install
- name: Build
uses: borales/[email protected]
with:
cmd: build
- name: Install SSH Client
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
SSH: true
BRANCH: gh-pages
FOLDER: 'dist'
CLEAN: true
26 changes: 21 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
.bundle
_site
.sass-cache
.jekyll-metadata
.env
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "PrismarineJS/minecraft-assets"]
path = PrismarineJS/minecraft-assets
url = [email protected]:PrismarineJS/minecraft-assets.git
[submodule "PrismarineJS/minecraft-data"]
path = PrismarineJS/minecraft-data
url = [email protected]:PrismarineJS/minecraft-data.git
24 changes: 0 additions & 24 deletions 404.html

This file was deleted.

49 changes: 0 additions & 49 deletions Gemfile

This file was deleted.

Loading

0 comments on commit fae4361

Please sign in to comment.