Update creating-a-meshery-design.md #1
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 and Preview Site | |
on: | |
pull_request: | |
branches: [ master ] | |
types: [opened, synchronize, reopened] | |
paths: | |
- '!**' | |
- 'docs/**' | |
jobs: | |
trigger-site-preview: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@master | |
with: | |
persist-credentials: false | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.2 # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install and Build 🔧 | |
run: | | |
cd docs | |
make build | |
- name: Zip Site | |
run: bash docs/script.sh | |
- name: Upload files | |
uses: actions/upload-artifact@v3 | |
with: | |
name: site-dir | |
path: ./site-dir.zip | |
retention-days: 1 | |
- name: Trigger Inner workflow | |
run: echo "triggering workflow" |