feat: static page

* feat: static site

* feat: mui support & basic theming

* feat: entgamers favicon

* feat: public images until dynamic content can be used

* feat: entgamers & gaming assets

* feat: eslint extra rules

* feat: mui theme modifications

* feat: fontawesome, gsap, bundle analyzer

* feat: common interfaces

* feat: basic layout

* chore: upadted dependencies

* chore: updated dependencies

* feat: updated link styles

* feat: layout now have better interfaces

* feat: basic seo component

* feat: static website

* feat: env variable rules in .gitignore

* feat: added lint to pre-commit

* docs: initial documentation

* ci: deploy using pm2

* ci: pm2 configuration file

* ci: github action deploy preview

* ci: github action deploy production

* ci: env variables now pass to pm2

* fix: pass environment to actions

* feat: post deploy as sudo

* fix: pass only required env to deploy

* revert: deploy as sudo

Refs: 624b225

* fix: server use isomorphic-fetch

* ci: use yarn instead npm

* fix: glass text contrast

* fix: production git ref

* docs: deploy env vars
This commit is contained in:
2022-10-09 15:39:16 -05:00
committed by GitHub
parent 8573d61066
commit 3f1e80051f
132 changed files with 4942 additions and 394 deletions
+46
View File
@@ -0,0 +1,46 @@
module.exports = {
apps: [
{
name: process.env.APP_NAME || 'entgamers-website',
script: 'npm',
args: 'start',
env: {
NODE_ENV: 'production',
PORT: process.env.PORT || 3000,
DISCORD_JOIN_WEBHOOK_URL: process.env.DISCORD_JOIN_WEBHOOK_URL
}
}
],
deploy: {
production: {
user: process.env.SSH_USERNAME,
host: process.env.DEPLOY_HOST,
ref: 'origin/production',
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
path: process.env.DEPLOY_PATH,
'pre-deploy': 'yarn install && yarn run build',
'post-deploy': 'pm2 startOrRestart ecosystem.config.js',
env: {
APP_NAME: process.env.APP_NAME,
PORT: process.env.PORT,
DISCORD_JOIN_WEBHOOK_URL: process.env.DISCORD_JOIN_WEBHOOK_URL
}
},
preview: {
user: process.env.SSH_USERNAME,
host: process.env.DEPLOY_HOST,
ref: 'origin/preview',
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
path: process.env.DEPLOY_PATH,
'pre-deploy': 'yarn install && yarn run build',
'post-deploy': 'pm2 startOrRestart ecosystem.config.js',
env: {
APP_NAME: process.env.APP_NAME,
PORT: process.env.PORT,
DISCORD_JOIN_WEBHOOK_URL: process.env.DISCORD_JOIN_WEBHOOK_URL
}
}
}
}