diff --git a/.github/workflows/staging_backend.yml b/.github/workflows/staging_backend.yml new file mode 100644 index 000000000..a722d1d17 --- /dev/null +++ b/.github/workflows/staging_backend.yml @@ -0,0 +1,16 @@ +name: Publish Staging Backend + +on: + push: + branches: + - main + paths-ignore: + - "apps/frontend*/**" + - "scripts/**" + +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..09574cf9a 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging_frontend.yml @@ -1,9 +1,11 @@ -name: Publish Staging +name: Publish Staging Frontend on: push: branches: - main + paths-ignore: + - "apps/backend*/**" jobs: publish_frontend: @@ -11,9 +13,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