Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
fix docs output directory (#4113)
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh authored Apr 21, 2020
1 parent b4c7d76 commit 0056b9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ jobs:
if: github.repository == 'allenai/allennlp' && github.event_name == 'release'
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
TAG=${GITHUB_REF/refs\/tags\//};
TAG=${GITHUB_REF/\/refs\/tags\//};
docker tag allennlp allennlp/allennlp:$TAG
docker push allennlp/allennlp:$TAG
Expand Down Expand Up @@ -298,9 +298,9 @@ jobs:
if: github.repository == 'allenai/allennlp'
run: |
if [[ $GITHUB_EVENT_NAME == 'release' ]]; then
DIRECTORY=master;
DIRECTORY=${GITHUB_REF/\/refs\/tags\//};
else
DIRECTORY=${GITHUB_REF/refs\/tags\//};
DIRECTORY=master;
fi
# Checkout allennlp-docs to /allennlp-docs
Expand Down

0 comments on commit 0056b9c

Please sign in to comment.