This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
Merge pull request #236 from w3f/config #252
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 | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2.3.1 | |
- name: Install and Build | |
run: | | |
yarn --cwd www/ | |
yarn global add typescript | |
yarn global add browserify | |
yarn global add node-sass | |
yarn --cwd www/ build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@4.1.4 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: www/dist # The folder the action should deploy. |