Skip to content

Merge pull request #46 from Pyrrha-Platform/updates #44

Merge pull request #46 from Pyrrha-Platform/updates

Merge pull request #46 from Pyrrha-Platform/updates #44

Workflow file for this run

name: CI
on:
push:
branches: main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
- name: Get Yarn cache directory
id: yarn-cache-dir
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- run: yarn install
- run: yarn build
- uses: crazy-max/ghaction-github-pages@v2.1.1
if: success()
with:
target_branch: gh-pages
build_dir: build
fqdn: pyrrha-platform.org
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}