From bafa23e03123828e81b10c475410ac7cd5fb54bc Mon Sep 17 00:00:00 2001 From: Szymon Uglis Date: Fri, 25 Oct 2024 21:27:20 +0200 Subject: [PATCH] Deploy docs action fix branch name extraction --- .github/workflows/deploy_docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 8b33fc25..e1163dfb 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -33,10 +33,9 @@ jobs: - name: Deploy nyxx dev docs uses: easingthemes/ssh-deploy@v5.1.0 env: - BRANCH_NAME: ${{ github.head_ref || github.ref_name }} ARGS: "-rltDzvO" SOURCE: "doc/api/" - TARGET: "${{ secrets.DEPLOY_REMOTE_TARGET }}/dartdocs/nyxx/${{ env.BRANCH_NAME }}/" + TARGET: "${{ secrets.DEPLOY_REMOTE_TARGET }}/dartdocs/nyxx/${{ github.head_ref || github.ref_name }}/" with: REMOTE_HOST: ${{ secrets.DEPLOY_REMOTE_HOST }} REMOTE_USER: ${{ secrets.DEPLOY_REMOTE_USER }}