diff --git a/.github/workflows/release.yml b/.github/workflows/main.yml similarity index 98% rename from .github/workflows/release.yml rename to .github/workflows/main.yml index e5864da..ed9574d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/main.yml @@ -1,3 +1,5 @@ +name: main + on: push: branches: ["main"] @@ -8,7 +10,7 @@ env: SERVICE: api # Restart the API service TODO and relays jobs: - build: + deploy: runs-on: ubuntu-latest permissions: contents: read diff --git a/.github/workflows/check.yml b/.github/workflows/pr.yml similarity index 95% rename from .github/workflows/check.yml rename to .github/workflows/pr.yml index 3996567..9ae79ed 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/pr.yml @@ -1,3 +1,5 @@ +name: pr + on: pull_request: branches: ["main"] @@ -6,7 +8,7 @@ env: CARGO_TERM_COLOR: always jobs: - check: + build: runs-on: ubuntu-latest steps: