Files
flipper/.github/workflows/docs.yml
Pranav Yadav 5584cf817c docs - Bump actions/checkout@v3.5.3 & JamesIves/github-pages-deploy-action@v4.4.2 (#4873)
Summary:
This diff bumps `actions/checkout@v3.5.3` & `JamesIves/github-pages-deploy-action@v4.4.2`

### Ref.:
- `actions/checkout@v3.5.3` changelog: https://github.com/actions/checkout/releases/tag/v3.5.3
- `JamesIves/github-pages-deploy-action@v4.4.2` changelog: https://github.com/JamesIves/github-pages-deploy-action/releases/tag/v4.4.2

## Changelog:

[GENERAL] [SECURITY] - [Actions] `docs` - Bump `actions/checkout@v3.5.3` & `JamesIves/github-pages-deploy-action@v4.4.2`

Pull Request resolved: https://github.com/facebook/flipper/pull/4873

Test Plan: - Workflow should run and work as usual.

Reviewed By: lblasa

Differential Revision: D47089308

Pulled By: passy

fbshipit-source-id: 5f8342e34a4fdde832e82d530c53e0cbe02c99a1
2023-06-29 04:03:27 -07:00

32 lines
694 B
YAML

name: Docs
# This action runs on push to 'main'
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
with:
persist-credentials: false
- name: Install and Build
run: |
yarn
yarn build
working-directory: website/
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.2
with:
branch: gh-pages
folder: website/build
clean: true
clean-exclude: |
.circleci
commit-message: "[ci skip] Deploying documentation update"