This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
Merge pull request #25 from penumbra-zone/21-use-the-address-componen… #24
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
--- | |
# Builds the static site via webpack in a container image, | |
# then copies that directory to localhost and pushes to Firebase, at: | |
# https://app.testnet.penumbra.zone | |
name: Deploy static site | |
on: | |
# Support ad-hoc runs via dispatch, so we can deploy from | |
# unmerged feature branches if necessary. | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
# Uncomment to run on PRs; useful while debugging. | |
# pull_request: | |
jobs: | |
build: | |
name: Render and deploy protocol and API docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v2 | |
- name: Build static site | |
run: ./build-static-site | |
- name: Deploy dapp static site to firebase | |
uses: w9jds/[email protected] | |
with: | |
args: deploy | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
PROJECT_ID: penumbra-dapp | |
PROJECT_PATH: docroot |