Merge pull request #4 from HunterPie/docs/add_v2.10.0_patch_notes #9
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: 'Automatic build' | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- .gitignore | |
- README.md | |
- LICENSE | |
jobs: | |
continuous-delivery: | |
runs-on: ubuntu-latest | |
env: | |
working-directory: ./src | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # for posts's lastmod | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
- name: Test | |
run: ls -R | |
working-directory: ${{ env.working-directory }} | |
- name: Install | |
run: bundle install | |
working-directory: ${{ env.working-directory }} | |
- name: Deploy | |
run: bash tools/deploy.sh | |
working-directory: ${{ env.working-directory }} |