forked from adobe/spectrum-web-components
-
Notifications
You must be signed in to change notification settings - Fork 4
28 lines (26 loc) · 945 Bytes
/
docs-deploy.yml
File metadata and controls
28 lines (26 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: GitHub Actions Build and Deploy Demo
on:
push:
branches:
- main
- f_saiye_token
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Install and Build
run: |
npm install lerna -g
lerna bootstrap
npm run-script get-ready
npm run-script docs:ci
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: projects/documentation/dist