diff --git a/.github/actions/build_jekyll_site/action.yml b/.github/actions/build_jekyll_site/action.yml index 484313a9..1272d245 100644 --- a/.github/actions/build_jekyll_site/action.yml +++ b/.github/actions/build_jekyll_site/action.yml @@ -3,18 +3,6 @@ description: "Build Jekyll site" runs: using: composite steps: - - restore_cache: - name: "Build cache restore" - keys: - - _site-v1-{{ .Revision }} - - _site-v1- - - build_site: - name: Building Jekyll site - run: | - bundle exec jekyll build --incremental - - save_cache: - name: Build cache save - key: _site-v1-{{ .Revision }} - with: - paths: - - _site + - name: Building Jekyll site + shell: bash + run: bundle exec jekyll build --incremental diff --git a/.github/actions/versioning/action.yml b/.github/actions/versioning/action.yml index e04ee934..7c4af80d 100644 --- a/.github/actions/versioning/action.yml +++ b/.github/actions/versioning/action.yml @@ -4,13 +4,10 @@ inputs: RELEASE_TYPE: description: Release Type required: false -outputs: - version: - description: Version + runs: using: composite steps: - - run: - name: Tag build - run: echo "${GITHUB_REF#refs/heads/} $(date -u +'%Y-%m-%dT%H:%M:%SZ')" > _site/version + - name: Tag build + run: echo "${GITHUB_REF#refs/heads/} $(date -u +'%Y-%m-%dT%H:%M:%SZ')" > _site/version shell: bash diff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.yml index efc5f807..7a35f2c4 100644 --- a/.github/workflows/release-production.yml +++ b/.github/workflows/release-production.yml @@ -16,7 +16,7 @@ jobs: - name: Bundle Install uses: ./.github/actions/bundle_install - name: Build Jekyll site - uses: ./.github/actions/build + uses: ./.github/actions/build_jekyll_site - name: invalidate master cache uses: ./.github/actions/invalidate_master_cache - name: Versioning diff --git a/.github/workflows/release-staging.yml b/.github/workflows/release-staging.yml index f1f0703c..f66fe0dd 100644 --- a/.github/workflows/release-staging.yml +++ b/.github/workflows/release-staging.yml @@ -16,7 +16,7 @@ jobs: - name: Bundle Install uses: ./.github/actions/bundle_install - name: Build Jekyll site - uses: ./.github/actions/build + uses: ./.github/actions/build_jekyll_site - name: Versioning uses: ./.github/actions/versioning with: