Unverified Commit 2880807a authored by Tachi's avatar Tachi

Set up GitHub Pages Action

parent fe1877fd
name: pistache.io
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install yarnpkg npm --no-install-recommends --assume-yes -qq
sudo update-alternatives --install /usr/bin/yarn yarn /usr/bin/yarnpkg 10
sudo npm install --global --silent npx
- name: Build docs site
run: |
cd pistache.io
yarn install --non-interactive
yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
cname: pistache.io
# Pistache
[![N|Solid](http://pistache.io/assets/images/logo.png)](https://www.github.com/oktal/pistache)
[![N|Solid](pistache.io/static/img/logo.png)](https://www.github.com/pistacheio/pistache)
[![Build Status](https://travis-ci.org/pistacheio/pistache.svg?branch=master)](https://travis-ci.org/pistacheio/pistache)
......
pistache.io
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment