Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
svalencia014 committed Dec 18, 2023
1 parent e78bdd9 commit 0889ba3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy to Server

on:
push:
branches: 'master'
workflow_dispatch:

jobs:
build_api:
runs-on: self-hosted
steps:
- name: Setup
uses: actions/checkout@v4
- name: Deploy
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
QRZ_USER: ${{ secrets.QRZ_USER }}
QRZ_PASS: ${{ secrets.QRZ_PASS }}
run: docker compose up --build -d

0 comments on commit 0889ba3

Please sign in to comment.