Просмотр исходного кода

ci: trigger publish workflow after beta sync

Dax Raad 2 месяцев назад
Родитель
Сommit
e2c6ab3a45
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      .github/workflows/beta.yml

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

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