Skip to content

Commit

Permalink
Fixed deployment pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin2Shih committed Sep 19, 2024
1 parent 34802eb commit c50ff58
Show file tree
Hide file tree
Showing 4 changed files with 133 additions and 96 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ jobs:
- name: Install dependencies
run: npm install

- name: Prebuild
run: npm run build

- name: Publish to Vercel
working-directory: ./runtime-environment
run: >
vercel
--token ${{ secrets.VERCEL_TOKEN }}
Expand Down
7 changes: 7 additions & 0 deletions configs/callbacks.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const callbacks = {
onUpdate: async () => {
console.log('hello there!');
},
};

export default callbacks;
212 changes: 119 additions & 93 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"migrate:down": "migrate-mongo down"
},
"dependencies": {
"@include/hearth": "[email protected]:include-davis/Include-CMS.git#v1.0.0",
"eslint": "^8",
"eslint-plugin-prettier": "^5.0.1",
"@include/hearth": "[email protected]:include-davis/Include-CMS.git"
}
"eslint-plugin-prettier": "^5.0.1"
}
}

0 comments on commit c50ff58

Please sign in to comment.