Merge pull request #1734 from davidhewitt/latest-tag
guide: add latest symlink
This commit is contained in:
commit
243e5eea13
|
@ -62,12 +62,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name == 'release' }}
|
||||
steps:
|
||||
- name: Create latest tag redirect
|
||||
- name: Create latest tag redirects
|
||||
env:
|
||||
TAG_NAME: ${{ needs.build.outputs.tag_name }}
|
||||
run: |
|
||||
mkdir public
|
||||
echo "<meta http-equiv=refresh content=0;url='$TAG_NAME/'>" > public/index.html
|
||||
ln -sfT $TAG_NAME public/latest
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3.7.0-8
|
||||
|
|
Loading…
Reference in New Issue