Selaa lähdekoodia

Trying github.ref_name

Tig Kindel 1 vuosi sitten
vanhempi
commit
1c8a69a99d
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      .github/workflows/api-docs.yml

+ 2 - 2
.github/workflows/api-docs.yml

@@ -10,7 +10,7 @@ permissions:
 
 
 jobs:
 jobs:
   deploy:
   deploy:
-    name: Build and Deploy API docs to github-pages
+    name: Build and Deploy API docs to github-pages ${{ github.ref_name }}
     environment:
     environment:
       name: github-pages
       name: github-pages
       url: ${{ steps.deployment.outputs.page_url }}
       url: ${{ steps.deployment.outputs.page_url }}
@@ -47,7 +47,7 @@ jobs:
       with:
       with:
         token: ${{ secrets.GITHUB_TOKEN }}
         token: ${{ secrets.GITHUB_TOKEN }}
 
 
-    - name: v2_develop Repository Dispatch ${{ github.branch }}
+    - name: v2_develop Repository Dispatch ${{ github.ref_name }}
       if: github.ref_name == 'v2_develop'
       if: github.ref_name == 'v2_develop'
       uses: peter-evans/repository-dispatch@v2
       uses: peter-evans/repository-dispatch@v2
       with:
       with: