2020-07-28 20:27:40 +02:00
|
|
|
name: 'Automatic build'
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2022-03-12 15:29:15 +01:00
|
|
|
- master
|
2020-07-28 20:27:40 +02:00
|
|
|
paths-ignore:
|
2020-10-03 10:45:17 +02:00
|
|
|
- .gitignore
|
|
|
|
- README.md
|
|
|
|
- LICENSE
|
2020-07-28 20:27:40 +02:00
|
|
|
|
|
|
|
jobs:
|
2020-09-16 19:28:44 +02:00
|
|
|
continuous-delivery:
|
2020-10-07 17:53:05 +02:00
|
|
|
|
2020-07-28 20:27:40 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
2020-11-22 18:26:29 +01:00
|
|
|
fetch-depth: 0 # for posts's lastmod
|
|
|
|
|
|
|
|
- name: Setup Ruby
|
2021-03-31 22:17:18 +02:00
|
|
|
uses: ruby/setup-ruby@v1
|
2020-11-22 18:26:29 +01:00
|
|
|
with:
|
2020-12-06 16:12:20 +01:00
|
|
|
ruby-version: 2.7
|
2021-03-31 22:17:18 +02:00
|
|
|
bundler-cache: true
|
2020-07-28 20:27:40 +02:00
|
|
|
|
|
|
|
- name: Deploy
|
2021-09-28 16:22:36 +02:00
|
|
|
run: bash tools/deploy.sh
|