Skip to content

Commit

Permalink
ci: add deploye workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova committed May 16, 2021
1 parent 9de510d commit 3c4f8fe
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Deploy Documentation

on:
push:
branches:
- master
- demo/docusaurus

jobs:
deploy:
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false

- uses: actions/setup-node@master
with:
node-version: 14.x

- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./website

- name: Build static
run: yarn build
working-directory: ./website

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
branch: gh-pages
folder: website/build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/.vscode/settings.json
node_modules
.idea
1 change: 1 addition & 0 deletions website/static/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feature-sliced.design

0 comments on commit 3c4f8fe

Please sign in to comment.