Automated release notes 12.2023 #13858
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
jekyll_build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- run: bundle exec jekyll build --config=_config.yml,_config_production.yml -t | |
- name: Pack artifacts | |
run: tar -czf result.tar.gz _site | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: build-result | |
path: result.tar.gz | |
link_validation_check_acp_user: | |
name: Links validation (check_acp_user) | |
needs: jekyll_build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- name: Cache HTMLProofer | |
id: cache-htmlproofer | |
uses: actions/cache@v2 | |
with: | |
path: tmp/.htmlproofer | |
key: ${{ runner.os }}-check_acp_user-htmlproofer | |
- uses: actions/download-artifact@v2 | |
- name: Unpack artifacts | |
run: tar -xf build-result/result.tar.gz | |
- run: bundle exec rake check_acp_user | |
link_validation_check_ca: | |
name: Links validation (check_ca) | |
needs: jekyll_build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- name: Cache HTMLProofer | |
id: cache-htmlproofer | |
uses: actions/cache@v2 | |
with: | |
path: tmp/.htmlproofer | |
key: ${{ runner.os }}-check_cloud-htmlproofer | |
- uses: actions/download-artifact@v2 | |
- name: Unpack artifacts | |
run: tar -xf build-result/result.tar.gz | |
- run: bundle exec rake check_ca | |
link_validation_check_scos_dev: | |
name: Links validation (check_scos_dev) | |
needs: jekyll_build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- name: Cache HTMLProofer | |
id: cache-htmlproofer | |
uses: actions/cache@v2 | |
with: | |
path: tmp/.htmlproofer | |
key: ${{ runner.os }}-check_scos_dev-htmlproofer | |
- uses: actions/download-artifact@v2 | |
- name: Unpack artifacts | |
run: tar -xf build-result/result.tar.gz | |
- run: bundle exec rake check_scos_dev | |
link_validation_check_scos_user: | |
name: Links validation (check_scos_user) | |
needs: jekyll_build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- name: Cache HTMLProofer | |
id: cache-htmlproofer | |
uses: actions/cache@v2 | |
with: | |
path: tmp/.htmlproofer | |
key: ${{ runner.os }}-check_scos_user-htmlproofer | |
- uses: actions/download-artifact@v2 | |
- name: Unpack artifacts | |
run: tar -xf build-result/result.tar.gz | |
- run: bundle exec rake check_scos_user | |
link_validation_check_scu: | |
name: Links validation (check_scu) | |
needs: jekyll_build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- name: Cache HTMLProofer | |
id: cache-htmlproofer | |
uses: actions/cache@v2 | |
with: | |
path: tmp/.htmlproofer | |
key: ${{ runner.os }}-check_scu-htmlproofer | |
- uses: actions/download-artifact@v2 | |
- name: Unpack artifacts | |
run: tar -xf build-result/result.tar.gz | |
- run: bundle exec rake check_scu | |
link_validation_check_pbc: | |
name: Links validation (check_pbc) | |
needs: jekyll_build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- name: Cache HTMLProofer | |
id: cache-htmlproofer | |
uses: actions/cache@v2 | |
with: | |
path: tmp/.htmlproofer | |
key: $-check_pbc-htmlproofer | |
- uses: actions/download-artifact@v2 | |
- name: Unpack artifacts | |
run: tar -xf build-result/result.tar.gz | |
- run: bundle exec rake check_pbc | |
link_validation_check_sdk: | |
name: Links validation (check_sdk) | |
needs: jekyll_build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- name: Cache HTMLProofer | |
id: cache-htmlproofer | |
uses: actions/cache@v2 | |
with: | |
path: tmp/.htmlproofer | |
key: ${{ runner.os }}-check_sdk-htmlproofer | |
- uses: actions/download-artifact@v2 | |
- name: Unpack artifacts | |
run: tar -xf build-result/result.tar.gz | |
- run: bundle exec rake check_sdk | |
page_validation: | |
name: Page validation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- run: bundle exec jekyll validate | |
algolia_search: | |
name: Push pages to Algolia | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2 | |
bundler-cache: true | |
- run: bundle exec jekyll algolia --config=_config.yml,algolia_config/_ca_dev.yml | |
env: # Or as an environment variable | |
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
- run: bundle exec jekyll algolia --config=_config.yml,algolia_config/_scos_dev.yml | |
env: # Or as an environment variable | |
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
- run: bundle exec jekyll algolia --config=_config.yml,algolia_config/_scos_user.yml | |
env: # Or as an environment variable | |
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
- run: bundle exec jekyll algolia --config=_config.yml,algolia_config/_pbc_all.yml | |
env: # Or as an environment variable | |
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
- run: bundle exec jekyll algolia --config=_config.yml,algolia_config/_acp_user.yml | |
env: # Or as an environment variable | |
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
- run: bundle exec jekyll algolia --config=_config.yml,algolia_config/_sdk_dev.yml | |
env: # Or as an environment variable | |
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
- run: bundle exec jekyll algolia --config=_config.yml,algolia_config/_scu_dev.yml | |
env: # Or as an environment variable | |
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
deploy: | |
runs-on: ubuntu-latest | |
needs: jekyll_build | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: akhileshns/heroku-deploy@v3.12.12 # This is the action | |
with: | |
heroku_api_key: ${{secrets.HEROKU_API_KEY}} | |
heroku_app_name: ${{secrets.HEROKU_APP_NAME}} | |
heroku_email: ${{secrets.HEROKU_EMAIL}} |