Barazo lexicon schemas and TypeScript types barazo.forum
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: add staging deploy trigger on push to main (#13)

Fires repository_dispatch to barazo-deploy when lexicon changes
are merged, triggering a rebuild of both API and Web images.

authored by

Guido X Jansen and committed by
GitHub
abf0b976 f2ce9bef

+26
+26
.github/workflows/deploy-staging.yml
··· 1 + name: Deploy to Staging 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + 8 + permissions: {} 9 + 10 + jobs: 11 + trigger-deploy: 12 + name: Trigger Staging Deploy 13 + runs-on: ubuntu-latest 14 + steps: 15 + - name: Dispatch to barazo-deploy 16 + uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3 17 + with: 18 + token: ${{ secrets.DEPLOY_PAT }} 19 + repository: barazo-forum/barazo-deploy 20 + event-type: deploy-staging 21 + client-payload: | 22 + { 23 + "trigger_repo": "barazo-lexicons", 24 + "api_ref": "main", 25 + "web_ref": "main" 26 + }