commit dist folder for github pages #18
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 & Deploy | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12.x' | |
- name: Install Ruby | |
run: sudo apt-get install ruby-full -y | |
- name: Install Compass | |
run: sudo gem install compass | |
- name: Install Global Dependencies | |
run: npm install grunt-cli && npm install yarn && npm install bower | |
- name: Install Dependencies | |
run: yarn | |
- name: Install Dependencies | |
run: bower install | |
- name: Run Build | |
run: grunt build | |
- name: Upload Build | |
uses: actions/upload-artifact@v1 | |
with: | |
name: CARA | |
path: ./dist |