GitHub Pages は実験なので削除する #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: イベント仕様書の作成 | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
jobs: | |
make_document: | |
runs-on: ubuntu-latest | |
if: ${{ !github.event.pull_request.draft }} | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- uses: gradle/gradle-build-action@v2 | |
- name: イベント仕様書の作成 | |
run: ./gradlew run --args validate | |
- name: イベント仕様書を PUSH する | |
run: | | |
git config user.name "github-actions" | |
git config user.email "[email protected]" | |
git add . | |
git commit -m "イベント仕様書の更新" | |
git push origin HEAD | |
continue-on-error: true |