diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index d404f91..3771117 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -4,13 +4,18 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 + with: + fetch-depth: 10 + fetch-tags: true + - name: Tag + uses: martoc/action-tag@v0 - name: Build the site in the jekyll/builder container run: | docker run \ -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future" + - name: Release on GitHub + uses: martoc/action-release@v0