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 19, 2024
1 parent ca65ea0 commit 29d2f24
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build-and-deploy:
runs-on: ubuntu-latest
runs-on: [sb1u]

steps:
- name: Checkout to the branch
Expand All @@ -21,19 +21,23 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20.x"

- name: Install Azure CLI
run: curl -L https://aka.ms/InstallAzureCli | bash

- 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 }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}


- name: Build and push container image to registry
uses: azure/container-apps-deploy-action@v1
with:
Expand Down

0 comments on commit 29d2f24

Please sign in to comment.