Skip to content

Commit

Permalink
ci: separate staging.yml for frontend and backend
Browse files Browse the repository at this point in the history
  • Loading branch information
1WHISKY committed Oct 29, 2024
1 parent 646b4d7 commit 07fb071
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/staging_backend.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
name: Publish Staging
name: Publish Staging Frontend

on:
push:
branches:
- main
paths-ignore:
- "apps/backend*/**"

jobs:
publish_frontend:
uses: momentum-mod/website/.github/workflows/frontend_cf_pages.yml@main
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

0 comments on commit 07fb071

Please sign in to comment.