Skip to content

Update with github-actions #1

Update with github-actions

Update with github-actions #1

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
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Checkout source-data
run: |
git submodule update --init
git submodule foreach 'git pull origin master'
- name: Deploy
if: github.ref == 'refs/heads/master'
run: ./bin/ci/deploy
with:

Check failure on line 32 in .github/workflows/update.yml

View workflow run for this annotation

GitHub Actions / update

Invalid workflow file

The workflow is not valid. .github/workflows/update.yml (Line: 32, Col: 9): Unexpected value 'with'
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}