Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncomment "RUN npx prisma migrate deploy" #911

Merged
merged 3 commits into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/PullRequestOpenAll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
NODE_OPTIONS: --max-old-space-size=7168
steps:
- uses: actions/checkout@v3
- name: Use Node.js '21.1.0'
- name: Use Node.js '22.9.0'
uses: actions/setup-node@v3
with:
node-version: '21.1.0'
node-version: '22.9.0'
cache: 'npm'
- name: Update npm
run: npm install -g npm && npm --version
Expand All @@ -43,10 +43,10 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js '20.5.0'
# - name: Use Node.js '22.9.0'
# uses: actions/setup-node@v3
# with:
# node-version: '20.5.0'
# node-version: '22.9.0'
# cache: 'npm'
# - name: Update npm
# run: npm install -g npm && npm --version
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/PushToMain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
NODE_OPTIONS: --max-old-space-size=7168
steps:
- uses: actions/checkout@v3
- name: Use Node.js '21.1.0'
- name: Use Node.js '22.9.0'
uses: actions/setup-node@v3
with:
node-version: '21.1.0'
node-version: '22.9.0'
cache: 'npm'
- name: Update npm
run: npm install -g npm && npm --version
Expand All @@ -37,10 +37,10 @@ jobs:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: Use Node.js '20.5.0'
# - name: Use Node.js '22.9.0'
# uses: actions/setup-node@v3
# with:
# node-version: '20.5.0'
# node-version: '22.9.0'
# cache: 'npm'
# - name: Update npm
# run: npm install -g npm && npm --version
Expand Down
4 changes: 2 additions & 2 deletions src/docker/Dockerfile.tripbot
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@ RUN npx prisma generate --schema=./src/prisma/moodle/schema.prisma
USER node

# Start the bot using the production build
# CMD npx prisma migrate deploy && pm2-runtime build/src/start.js
CMD pm2-runtime build/src/start.js
CMD npx prisma migrate deploy && pm2-runtime build/src/start.js
# CMD pm2-runtime build/src/start.js
Loading