diff --git a/.github/workflows/leaves.yml b/.github/workflows/leaves.yml index 78cf901e..b2c630e7 100644 --- a/.github/workflows/leaves.yml +++ b/.github/workflows/leaves.yml @@ -1,18 +1,8 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle - name: Leaves CI on: push: branches: [ master ] - pull_request: - types: [ closed ] - branches: [ master ] workflow_dispatch: jobs: @@ -62,6 +52,7 @@ jobs: git clone git@github.com:LeavesMC/Configuration.git configuration -b Leaves cp run/leaves.yml configuration/leaves.yml -f cd configuration + git add leaves.yml git commit leaves.yml -m "https://github.com/LeavesMC/Leaves/commit/$(cd .. && git rev-parse HEAD)" git push origin HEAD:Leaves - name: Get Release Info