Skip to content

Commit b91ef7f

Browse files
committed
fix workflow
1 parent 0719523 commit b91ef7f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/document.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
11-
11+
- name: Set branch name
12+
id: branch
13+
run: echo "::set-output name=BRANCH_NAME::${GITHUB_REF##*/}"
1214
- name: Set up Python 3.7
1315
uses: actions/setup-python@v2
1416
with:
@@ -30,4 +32,4 @@ jobs:
3032
with:
3133
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
3234
publish_dir: ./tools/generated
33-
destination_dir: ${GITHUB_REF##*/}
35+
destination_dir: ${( steps.branch.outputs.BRANCH_NAME )}

0 commit comments

Comments
 (0)