Skip to content

Commit

Permalink
Let 'latest' link to the current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Apr 21, 2021
1 parent fb07ef5 commit fac52f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,13 @@ jobs:
run: |
cd deploy
touch .nojekyll
# Update the directory
rm -rvf ${GMT_DOC_VERSION}
cp -rvf ../build/dirhtml/ ${GMT_DOC_VERSION}/
# let "latest" link to the latest version
rm -f latest
ln -sf ${GMT_DOC_VERSION} latest
# commit all changes
git add -A .
git status
git config user.email "github-actions[bot]@users.noreply.github.com"
Expand Down

0 comments on commit fac52f8

Please sign in to comment.