Skip to content

A self-hosted media server and file management system

chore: remove dev from actions

aminnausin9bc4b7cb1077
diff --git a/.github/workflows/ci-docker-release.yml b/.github/workflows/ci-docker-release.yml
index 195a7231..d3475163 100644
--- a/.github/workflows/ci-docker-release.yml
+++ b/.github/workflows/ci-docker-release.yml
@@ -2,7 +2,7 @@ name: CI & Docker Release
on:
push:
- branches: [ 'dev', 'main', 'prod' ]
+ branches: [ 'main', 'prod' ]
workflow_dispatch:
inputs:
bump:
@@ -21,7 +21,7 @@ jobs:
contents: write
strategy:
fail-fast: true
- uses: aminnausin/mediaServer/.github/workflows/tests.yml@dev
+ uses: ./.github/workflows/tests.yml
# ==========================
# Generate Release Tags
# ==========================
@@ -62,9 +62,9 @@ jobs:
DOCKER_TAG=""
TAG=""
- if [[ "${{ github.ref }}" == "refs/heads/dev" ]]; then
+ if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
- #Only increase patch version if merging feature branch to main (dev)
+ #Only increase patch version if merging feature branch to main (previously dev)
IS_MERGE=$(git log -1 --pretty=%P | wc -w)
if [ "$IS_MERGE" -gt 1 ]; then
PATCH=$((PATCH + 1))
diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml
index a68aaf4f..d3f3a2a7 100644
--- a/.github/workflows/ci-test.yml
+++ b/.github/workflows/ci-test.yml
@@ -2,7 +2,7 @@ name: Code Test
on:
pull_request:
- branches: [ 'dev', 'main', 'prod' ]
+ branches: [ 'main', 'prod' ]
jobs:
run-tests:
@@ -10,4 +10,4 @@ jobs:
contents: write
strategy:
fail-fast: true
- uses: aminnausin/mediaServer/.github/workflows/tests.yml@dev
+ uses: ./.github/workflows/tests.yml