Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhava17 committed Jul 29, 2023
1 parent 4288627 commit 3b9dfd5
Show file tree
Hide file tree
Showing 52 changed files with 23,192 additions and 327 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Dev Build

on:
push:
branches:
- dev

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "13.x"

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
branch: gh-pages
folder: build
clean: true
token: ${{ secrets.ACTION_TOKEN }}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.acceptSuggestionOnEnter": "on"
}
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ db.connect((error) => {
app.use('/', require('./routes/pages'))
app.use('/auth', require('./routes/auth'))

app.listen(process.env.PORT || 3000, function(){
app.listen(process.env.PORT || 3001, function(){
console.log("Express server listening on port %d in %s mode", this.address().port, app.settings.env);
});

Loading

0 comments on commit 3b9dfd5

Please sign in to comment.