From 8f11ba8955bfceefc90bdf946ed17c3644b25ad9 Mon Sep 17 00:00:00 2001 From: toshimaru Date: Sun, 24 Apr 2022 03:24:01 +0900 Subject: [PATCH 1/2] Create gh-pages publish workflow --- .github/workflows/ci.yaml | 4 +++- .github/workflows/publish.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4c7043e..7b692ea 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,9 +1,11 @@ name: Test + on: push: branches: - main pull_request: + jobs: test: strategy: @@ -18,7 +20,7 @@ jobs: BUNDLE_GEMFILE: ${{ matrix.gemfile }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..e802495 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,27 @@ +name: GitHub Pages + +on: + push: + branches: + - main + +env: + TZ: 'Asia/Tokyo' + +jobs: + gh-pages-deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.1 + bundler-cache: true + - name: Jekyll Build + run: bundle exec jekyll build + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + personal_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./_site From b6cfcf1f6fb990255e740d16710e70a88fe37bca Mon Sep 17 00:00:00 2001 From: toshimaru Date: Sun, 24 Apr 2022 03:30:11 +0900 Subject: [PATCH 2/2] Create dependabot.yml --- .github/dependabot.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3fd1c0e --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: weekly + reviewers: + - toshimaru