Skip to content

Commit

Permalink
add production deployment and minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Jun 20, 2023
1 parent 3ba685c commit c9bfedf
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,35 @@ jobs:
name: release-stable-bridge
path: out

docs:
name: "Build Portal Bridge Documentation"
runs-on: "ubuntu-latest"
concurrency:
group: ${{ github.ref }}-portal-docs-preview
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node environment
uses: actions/setup-node@v3
with:
node-version: v16.19.1
- name: Install dependencies
run: |
pushd docs
npm ci
- name: Set Version
run: |
echo "_BRANCH_NAME_SHA=$(echo ${{ github.event.pull_request.head.ref }} | sha256sum | cut -c -10)" >> "${GITHUB_ENV}"
- name: Build
run: |
pushd docs
npm run build
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: docs-release-build
path: docs/build

portal:
name: "Build Portal Bridge"
runs-on: ubuntu-latest
Expand Down Expand Up @@ -97,6 +126,7 @@ jobs:
needs:
- portal
- cctp
- docs
runs-on: "ubuntu-latest"
concurrency:
group: ${{ github.ref }}-publish-release
Expand All @@ -109,6 +139,11 @@ jobs:
uses: actions/download-artifact@v3
with:
name: release-portal-bridge
- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: docs-release-build
path: docs
- name: Download Artifact
uses: actions/download-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/faqs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ slug: /

> :interrobang: Developing on Wormhole? Check out [the book](https://book.wormhole.com)! :book:
## General FAQ
## General FAQ

### How does the Portal work?

Expand Down

0 comments on commit c9bfedf

Please sign in to comment.