Skip to content

Commit

Permalink
Adds Procfile until Pipeline bug resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
mthomps4 committed May 7, 2021
1 parent 2df7718 commit ed1144d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/create-bison-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ module.exports = async ({ name, ...answers }) => {
variables.host.createAppsAndPipelines,
task: async () => {
const repoName = variables.githubRepo.match(/(\w+\/\w+).git$/)[1];
await fsPromises.writeFile("Procfile", "web: yarn db:deploy && yarn start");
// ! Bug w/ Pipelines, better error handling needed.
// await fsPromises.writeFile("Procfile", "web: yarn db:deploy && yarn start");

// create staging app
await execa(
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions packages/create-bison-app/template/Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: yarn db:deploy && yarn start
2 changes: 1 addition & 1 deletion packages/create-bison-app/template/tests/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import request from 'supertest';
import { User } from '@prisma/client';
import { Client } from 'pg';

import {server, GRAPHQL_PATH } from '../pages/api/graphql';
import { server, GRAPHQL_PATH } from '../pages/api/graphql';
import { appJwtForUser } from '../services/auth';
import { prisma, connect, disconnect } from '../lib/prisma';

Expand Down

0 comments on commit ed1144d

Please sign in to comment.