Create build.yml

This commit is contained in:
ZhgChgLi 2024-10-27 00:00:36 +08:00 committed by GitHub
parent 129c395823
commit afd0ceac73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

30
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: 'Automatic build'
on:
push:
branches:
- main
paths-ignore:
- .gitignore
- README.md
- LICENSE
workflow_dispatch:
jobs:
continuous-delivery:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Deploy
run: bash deploy.sh