|
|
@ -26,16 +26,16 @@ jobs:
|
|
|
|
OUTDIR=$(basename ${{ github.ref }})
|
|
|
|
OUTDIR=$(basename ${{ github.ref }})
|
|
|
|
echo "OUTDIR=$OUTDIR" >> $GITHUB_ENV
|
|
|
|
echo "OUTDIR=$OUTDIR" >> $GITHUB_ENV
|
|
|
|
|
|
|
|
|
|
|
|
- name: Deploy
|
|
|
|
- name: Deploy stable
|
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
|
|
|
|
|
if: startswith(github.ref, 'refs/tags/')
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
publish_dir: ./book/book
|
|
|
|
publish_dir: ./book/book
|
|
|
|
destination_dir: ./${{ env.OUTDIR }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Deploy stable
|
|
|
|
- name: Deploy
|
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
|
|
if: startswith(github.ref, 'refs/tags/')
|
|
|
|
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
publish_dir: ./book/book
|
|
|
|
publish_dir: ./book/book
|
|
|
|
|
|
|
|
destination_dir: ./${{ env.OUTDIR }}
|
|
|
|