Build site #1388
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: Build site | |
on: | |
schedule: | |
- cron: '30 6 * * *' | |
workflow_dispatch: | |
inputs: | |
params: | |
description: 'Arguments to deploy script' | |
required: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out repository | |
uses: actions/checkout@v3 | |
- name: install ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.0' | |
bundler-cache: true | |
- name: run deploy script | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: bash ./build.sh |