9 PROJECT_URL: yosql.projects.metio.wtf
13 runs-on: ubuntu-latest
16 name: Clone Git Repository
17 uses: actions/checkout@v3
19 fetch-depth: 0 # required in order to get all tags
22 uses: peaceiris/actions-hugo@v2.5.0
26 name: Get Last Release
27 run: echo "::set-output name=version::$(git describe --abbrev=0 --tags)"
30 run: hugo --minify --i18n-warnings --path-warnings --source yosql-website
32 YOSQL_RELEASE: ${{ steps.previous.outputs.version }}
35 uses: peaceiris/actions-gh-pages@v3.8.0
37 github_token: ${{ secrets.GITHUB_TOKEN }}
38 publish_dir: ./yosql-website/public
40 cname: ${{ env.PROJECT_URL }}