Summary: Updated to the latest version which apparently doesn't need a privileged token anymore, which would be good news. Also updated the message to include a `[ci skip]` which instructs CircleCI not to run because we're having a chicken-and-egg-problem here with CircleCI otherwise needing a config to tell it not to run, otherwise it will run and fail because there's no config. Pull Request resolved: https://github.com/facebook/flipper/pull/2342 Test Plan: hopeitwork Task: T91157540 Reviewed By: mweststrate Differential Revision: D28539468 Pulled By: passy fbshipit-source-id: 609c3fa1578e0506aadeb225c4e38ff53db67934
29 lines
593 B
YAML
29 lines
593 B
YAML
name: Docs
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.3.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Install and Build
|
|
run: |
|
|
yarn
|
|
yarn build
|
|
working-directory: website/
|
|
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@4.1.3
|
|
with:
|
|
branch: gh-pages
|
|
folder: website/build
|
|
clean: true
|
|
commit-message: "[ci skip] Deploying documentation update"
|