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 8585b6b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ on:

jobs:
build-and-deploy:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux]

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
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Expand Down

0 comments on commit 8585b6b

Please sign in to comment.