We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0719523 commit b91ef7fCopy full SHA for b91ef7f
.github/workflows/document.yml
@@ -8,7 +8,9 @@ jobs:
8
runs-on: ubuntu-latest
9
steps:
10
- uses: actions/checkout@v2
11
-
+ - name: Set branch name
12
+ id: branch
13
+ run: echo "::set-output name=BRANCH_NAME::${GITHUB_REF##*/}"
14
- name: Set up Python 3.7
15
uses: actions/setup-python@v2
16
with:
@@ -30,4 +32,4 @@ jobs:
30
32
31
33
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
34
publish_dir: ./tools/generated
- destination_dir: ${GITHUB_REF##*/}
35
+ destination_dir: ${( steps.branch.outputs.BRANCH_NAME )}
0 commit comments