File tree Expand file tree Collapse file tree
apps/web/app/(main)/project-invite Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,28 +56,20 @@ jobs:
5656
5757 - name : Build All Packages
5858 run : pnpm build
59- deploy-trigger :
59+ deploy-frontend :
6060 needs : [test, changes]
61- if : github.ref == 'refs/heads/main'
62- runs-on : ubuntu-latest
63- steps :
64- - name : Trigger Frontend
65- if : needs.changes.outputs.web == 'true' || needs.changes.outputs.sdk == 'true'
66- uses : peter-evans/repository-dispatch@v2
67- with :
68- token : ${{ secrets.GITHUB_TOKEN }}
69- event-type : deploy-frontend
61+ if : github.ref == 'refs/heads/main' && (needs.changes.outputs.web == 'true' || needs.changes.outputs.sdk == 'true')
62+ uses : ./.github/workflows/deploy-frontend.yml
63+ secrets : inherit
7064
71- - name : Trigger API
72- if : needs.changes.outputs.api == 'true'
73- uses : peter-evans/repository-dispatch@v2
74- with :
75- token : ${{ secrets.GITHUB_TOKEN }}
76- event-type : deploy-api
65+ deploy-api :
66+ needs : [test, changes]
67+ if : github.ref == 'refs/heads/main' && needs.changes.outputs.api == 'true'
68+ uses : ./.github/workflows/deploy-api.yml
69+ secrets : inherit
7770
78- - name : Trigger Worker
79- if : needs.changes.outputs.api == 'true'
80- uses : peter-evans/repository-dispatch@v2
81- with :
82- token : ${{ secrets.GITHUB_TOKEN }}
83- event-type : deploy-worker
71+ deploy-worker :
72+ needs : [test, changes]
73+ if : github.ref == 'refs/heads/main' && needs.changes.outputs.api == 'true'
74+ uses : ./.github/workflows/deploy-worker.yml
75+ secrets : inherit
Original file line number Diff line number Diff line change 11name : Deploy API
22
33on :
4+ workflow_call :
45 repository_dispatch :
56 types : [deploy-api]
67
Original file line number Diff line number Diff line change 11name : Deploy Frontend
22
33on :
4+ workflow_call :
45 repository_dispatch :
56 types : [deploy-frontend]
67
Original file line number Diff line number Diff line change 11name : Deploy Worker
22
33on :
4+ workflow_call :
45 repository_dispatch :
56 types : [deploy-worker]
67
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import PageClient from "./page-client";
33
44export const metadata = {
55 title : "Project Invite" ,
6- description : "Project Invite " ,
6+ description : "project invite " ,
77} ;
88
99function Page ( ) {
You can’t perform that action at this time.
0 commit comments