aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-09-07 22:39:38 +0200
committerLinnea Gräf <nea@nea.moe>2025-09-07 22:39:38 +0200
commit2b34975e86695e4f94e1268ad979a3da61d58cb2 (patch)
treee01295039d3fd39e44ed5920f7ff5804d733ccbf /.github
parent027c72a23cd9d6952f3b6d00a57f6fe6ff1155cc (diff)
downloadFirmament-2b34975e86695e4f94e1268ad979a3da61d58cb2.tar.gz
Firmament-2b34975e86695e4f94e1268ad979a3da61d58cb2.tar.bz2
Firmament-2b34975e86695e4f94e1268ad979a3da61d58cb2.zip
ci: fix cache not writing + website publishing
Diffstat (limited to '.github')
-rw-r--r--.github/composite/gradle/action.yml1
-rw-r--r--.github/workflows/publish-website.yml2
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/composite/gradle/action.yml b/.github/composite/gradle/action.yml
index 5f7a260..1c75008 100644
--- a/.github/composite/gradle/action.yml
+++ b/.github/composite/gradle/action.yml
@@ -20,6 +20,7 @@ runs:
- name: Set up gradle cache
uses: gradle/actions/setup-gradle@v3
with:
+ cache-read-only: false
add-job-summary-as-pr-comment: 'on-failure'
- name: Prepare unpacked Jars
run: |
diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml
index f492738..b6f45b9 100644
--- a/.github/workflows/publish-website.yml
+++ b/.github/workflows/publish-website.yml
@@ -33,7 +33,7 @@ jobs:
name: Deploy Website
runs-on: ubuntu-latest
needs: build-website
- if: ${{ 'push' == github.event_name && 'master' == github.ref_name && '637563904' == github.repository_id }}
+ if: ${{ 'push' == github.event_name && github.ref_name == github.event.repository.default_branch && '637563904' == github.repository_id }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}