diff --git a/.github/workflows/staging_backend.yml b/.github/workflows/staging_backend.yml new file mode 100644 index 000000000..086c4f8ec --- /dev/null +++ b/.github/workflows/staging_backend.yml @@ -0,0 +1,16 @@ +name: Publish Staging Backend + +on: + push: + branches: + - main + paths: + - "apps/backend/**" + - "apps/backend-e2e/**" + +jobs: + publish_backend: + permissions: + packages: write + uses: momentum-mod/website/.github/workflows/backend_docker_image.yml@main + secrets: inherit diff --git a/.github/workflows/staging.yml b/.github/workflows/staging_frontend.yml similarity index 54% rename from .github/workflows/staging.yml rename to .github/workflows/staging_frontend.yml index b288bf87e..902aa375f 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging_frontend.yml @@ -1,9 +1,12 @@ -name: Publish Staging +name: Publish Staging Frontend on: push: branches: - main + paths: + - "apps/frontend/**" + - "apps/frontend-e2e/**" jobs: publish_frontend: @@ -11,9 +14,3 @@ jobs: with: project_name: 'frontend-staging' secrets: inherit - - publish_backend: - permissions: - packages: write - uses: momentum-mod/website/.github/workflows/backend_docker_image.yml@main - secrets: inherit