Skip to content

Commit

Permalink
Go back to building docs only on release
Browse files Browse the repository at this point in the history
  • Loading branch information
serras committed Dec 17, 2024
1 parent 64260d1 commit c24ae90
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/githubpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: githubpages
on:
release:
types: [ released ]
push:
branches:
- "serras/dokka-plugin-2"

env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.kotlin.dsl.internal.io.timeout=120000 -Dorg.gradle.jvmargs="-Xmx5g -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8"
Expand All @@ -32,7 +29,7 @@ jobs:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}

- name: assemble
run: ./gradlew -Pversion=2.0.0 :dokkaGenerate -Pgithubpages=true
run: ./gradlew -Pversion=${{ github.event.release.tag_name }} :dokkaGenerate -Pgithubpages=true

- name: copy CNAME
run: cp static/CNAME docs
Expand Down

0 comments on commit c24ae90

Please sign in to comment.