Преглед изворни кода

ci: trigger publish workflow after beta sync

Dax Raad пре 2 месеци
родитељ
комит
e2c6ab3a45
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      .github/workflows/beta.yml

+ 6 - 0
.github/workflows/beta.yml

@@ -16,6 +16,7 @@ jobs:
     permissions:
       contents: write
       pull-requests: read
+      actions: write
     steps:
       - name: Checkout repository
         uses: actions/checkout@v4
@@ -32,3 +33,8 @@ jobs:
         env:
           GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         run: bun script/beta.ts
+
+      - name: Trigger publish workflow
+        env:
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        run: gh workflow run publish.yml --ref beta