docs: Clarified CL pool examples + misc Markdown formatting fixes (#231) #262
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 Deploy Docs Beta Branch | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/[email protected] | |
# - name: Download Latest Awesome repo README | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/awesome/main/README.md > docs/awesome/README.md | |
# - name: Download superfluid docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmosis/main/x/superfluid/spec/README.md > docs/osmosis-core/modules/spec-superfluid.md | |
# - name: Download pool incentives docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmosis/main/x/pool-incentives/spec/README.md > docs/osmosis-core/modules/spec-pool-incentives.md | |
# - name: Download mint docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmosis/main/x/mint/spec/README.md > docs/osmosis-core/modules/spec-mint.md | |
# - name: Download lockup docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmosis/main/x/lockup/spec/README.md > docs/osmosis-core/modules/spec-lockup.md | |
# - name: Download gamm docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmosis/main/x/gamm/spec/README.md > docs/osmosis-core/modules/spec-gamm.md | |
# - name: Download epochs docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmosis/main/x/epochs/spec/README.md > docs/osmosis-core/modules/spec-epochs.md | |
# - name: Download txfees docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmosis/main/x/txfees/spec/README.md > docs/osmosis-core/modules/spec-txfees.md | |
# - name: Download incentives docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmosis/main/x/incentives/spec/README.md > docs/osmosis-core/modules/spec-incentives.md | |
# - name: Download localOsmosis docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/LocalOsmosis/main/README.md > docs/developing/tools/localosmosis.md | |
# - name: Download OsmoJS docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmojs/main/README.md > docs/developing/tools/osmojs.md | |
#Beaker docs | |
# - name: Download Beaker docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/beaker/main/README.md > docs/developing/tools/beaker/README.md | |
# - name: Change Beaker Logo to Absolute path | |
# run: sed -i 's/assets\/beaker.png/https:\/\/raw.githubusercontent.com\/osmosis-labs\/beaker\/main\/assets\/beaker.png/g' docs/developing/tools/beaker/README.md | |
#Front-end docs | |
# - name: Frontend docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/osmosis-frontend/master/README.md > docs/developing/web-dev-guide.md | |
# - name: Clean up front-end title | |
# run: sed -i 's/Osmosis Frontend π©βπ¬βοΈπ§ͺ/Osmosis Web Interface/g' docs/developing/web-dev-guide.md | |
# - name: Removing all emojis from titles | |
# run: sed -i 's/π€ \|π\|π©βπ¬\|βοΈ\|π§ͺ\|π¨βπ»\|π»/ /g' docs/developing/web-dev-guide.md | |
# Copy Infra docs | |
# - name: Download infra docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/infrastructure/main/digitalocean/single-rpc/README.md > docs/infra/do/loadbalanced-rpc.md | |
# - name: Download infra docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/infrastructure/main/digitalocean/single-rpc-with-floating-ip/README.md > docs/infra/do/single-rpc-with-floating-ip.md | |
# - name: Download infra docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/infrastructure/main/digitalocean/single-rpc-with-monitor-alerts/README.md > docs/infra/do/single-rpc-with-monitor-alerts.md | |
# - name: Download infra docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/infrastructure/main/digitalocean/loadbalanced-rpc/README.md > docs/infra/do/loadbalanced-rpc.md | |
# - name: Download infra docs | |
# run: curl https://raw.githubusercontent.com/osmosis-labs/infrastructure/main/digitalocean/loadbalanced-rpc-with-monitor-alerts/README.md > docs/infra/do/loadbalanced-rpc-with-monitor-alerts.md | |
- name: Install and Build π§ # This will create version inside the 'build' folder. | |
run: | | |
yarn install | |
yarn build | |
- name: Deploy to Beta Branch π | |
uses: JamesIves/[email protected] | |
with: | |
branch: beta-build # The branch the action should deploy to. | |
folder: build |