@@ -38,37 +38,37 @@ jobs:
3838 - name : Run Tests
3939 run : npm run test
4040
41- # faas:
42- # name: MetaCall FaaS Dispatch
43- # needs: test
44- # runs-on: ubuntu-latest
45- # steps:
46- # - name: MetaCall FaaS Workflow Dispatch
47- # uses: convictional/trigger-workflow-and-wait@v1.6.1
48- # with:
49- # owner: metacall
50- # repo: faas
51- # github_token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }}
52- # workflow_file_name: ci.yml
53- # wait_workflow: true
54- # client_payload: '{"ref": "${{ github.event.pull_request.head.sha || github.sha }}", "repo": "${{ github.event.pull_request.head.repo.full_name || github.repository }}"}'
55- # ref: master
41+ faas :
42+ name : MetaCall FaaS Dispatch
43+ needs : test
44+ runs-on : ubuntu-latest
45+ steps :
46+ - name : MetaCall FaaS Workflow Dispatch
47+ uses : convictional/trigger-workflow-and-wait@v1.6.1
48+ with :
49+ owner : metacall
50+ repo : faas
51+ github_token : ${{ secrets.G_PERSONAL_ACCESS_TOKEN }}
52+ workflow_file_name : ci.yml
53+ wait_workflow : true
54+ client_payload : ' {"ref": "${{ github.event.pull_request.head.sha || github.sha }}", "repo": "${{ github.event.pull_request.head.repo.full_name || github.repository }}"}'
55+ ref : master
5656
57- # deploy:
58- # name: MetaCall Deploy Dispatch
59- # needs: test
60- # runs-on: ubuntu-latest
61- # steps:
62- # - name: MetaCall Deploy Workflow Dispatch
63- # uses: convictional/trigger-workflow-and-wait@v1.6.1
64- # with:
65- # owner: metacall
66- # repo: deploy
67- # github_token: ${{ secrets.G_PERSONAL_ACCESS_TOKEN }}
68- # workflow_file_name: ci.yml
69- # wait_workflow: true
70- # client_payload: '{"ref": "${{ github.event.pull_request.head.sha || github.sha }}", "repo": "${{ github.event.pull_request.head.repo.full_name || github.repository }}"}'
71- # ref: master
57+ deploy :
58+ name : MetaCall Deploy Dispatch
59+ needs : test
60+ runs-on : ubuntu-latest
61+ steps :
62+ - name : MetaCall Deploy Workflow Dispatch
63+ uses : convictional/trigger-workflow-and-wait@v1.6.1
64+ with :
65+ owner : metacall
66+ repo : deploy
67+ github_token : ${{ secrets.G_PERSONAL_ACCESS_TOKEN }}
68+ workflow_file_name : ci.yml
69+ wait_workflow : true
70+ client_payload : ' {"ref": "${{ github.event.pull_request.head.sha || github.sha }}", "repo": "${{ github.event.pull_request.head.repo.full_name || github.repository }}"}'
71+ ref : master
7272
7373 publish :
7474 name : Publish
0 commit comments