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 }}