Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
ci: GitHub Actions経由でのPagesデプロイに変更 (#961)
Browse files Browse the repository at this point in the history
* ci: GitHub Actions経由でのPagesデプロイに変更

* ci: Bug Fixes -> Fixes
  • Loading branch information
book000 authored Sep 30, 2022
1 parent 07c0e34 commit d5ae31c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/qodana-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,24 @@ jobs:
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json

- name: Deploy to GitHub Pages
- name: Upload Pages-artifact
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
uses: actions/upload-pages-artifact@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ runner.temp }}/qodana/results/report
destination_dir: ./
path: ${{ runner.temp }}/qodana/results/report

deploy:
runs-on: ubuntu-latest
needs: qodana-quality
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: "minor"
custom_release_rules: "feat:minor:✨ Features,fix:patch:🐛 Bug Fixes,docs:patch:📰 Docs,chore:patch:🎨 Chore,pref:patch:🎈 Performance improvements,refactor:patch:🧹 Refactoring,build:patch:🔍 Build,ci:patch:🔍 CI,revert:patch:⏪ Revert,style:patch:🧹 Style,test:patch:👀 Test"
custom_release_rules: "feat:minor:✨ Features,fix:patch:🐛 Fixes,docs:patch:📰 Docs,chore:patch:🎨 Chore,pref:patch:🎈 Performance improvements,refactor:patch:🧹 Refactoring,build:patch:🔍 Build,ci:patch:🔍 CI,revert:patch:⏪ Revert,style:patch:🧹 Style,test:patch:👀 Test"

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down

0 comments on commit d5ae31c

Please sign in to comment.