simplify enclave logo in footer #156
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: Deploy Client | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Deploy Client | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
cache-dependency-path: "packages/client/yarn.lock" | |
- name: Install dependencies | |
run: | | |
cd packages/client | |
yarn install --frozen-lockfile | |
- name: Build | |
run: | | |
cd packages/client | |
yarn run build | |
env: | |
VITE_TWITTER_SERVERLESS_API: ${{secrets.VITE_TWITTER_SERVERLESS_API}} | |
VITE_ENCLAVE_API: ${{secrets.VITE_ENCLAVE_API}} | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: packages/client/dist # The folder the action should deploy. | |