Skip to content

Change submodule update logic #5

Change submodule update logic

Change submodule update logic #5

Workflow file for this run

name: update
on:
push:
schedule:
# Run at 12:00 JST
- cron: '0 3 * * *'
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Checkout source-data
run: |
git submodule update --remote
- name: Deploy
if: github.ref == 'refs/heads/master'
run: ./bin/ci/deploy
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}