feat: update deps #63
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 Site | |
on: | |
push: | |
branches: [master] | |
paths: | |
- 'packages/fnx-ui/public/**' | |
- 'packages/fnx-ui/site/**' | |
- 'packages/fnx-ui/src/**' | |
workflow_dispatch: | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/checkout@v2 | |
- name: Git Identity π | |
run: | | |
git config --global user.name 'github-actions[bot]' | |
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | |
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install dependencies βπ | |
run: npm run bootstrap | |
- name: Build Site βπ¨ | |
run: npm run build:site | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Deploy π | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: packages/fnx-ui/dist-site | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |