Skip to content

Commit

Permalink
switch to sb1u runner
Browse files Browse the repository at this point in the history
  • Loading branch information
havardthom committed Sep 12, 2024
1 parent ca65ea0 commit d9e5d61
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout to the branch
uses: actions/checkout@v2
uses: actions/checkout@v4

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

- name: Set up Postgresql with prisma
run: |
DATABASE_URL=${{secrets.DATABASE_URL}} npx prisma generate
DATABASE_URL=${{secrets.DATABASE_URL}} npx prisma migrate deploy
# - name: Set up Postgresql with prisma
# run: |
# DATABASE_URL=${{secrets.DATABASE_URL}} npx prisma generate
# DATABASE_URL=${{secrets.DATABASE_URL}} npx prisma migrate deploy

- name: Azure Login
uses: azure/login@v2
Expand Down

0 comments on commit d9e5d61

Please sign in to comment.