docs-public.yml
This file
Path
.github/workflows/docs-public.yml
34 lines · 1002 bytes · YAML
Last changed by
chore: fix docs deployment attempt 3Michel Weststratebefore adoption144f886
History of this fileTake it
chore: publish docs automaticallyMichel Weststratebefore adoptionb6d92f4
lines 1–24why, one step back1# This is a basic workflow to help you get started with Actions23name: Public docs45on:6 push:7 branches: [ master ]89 # Allows you to run this workflow manually from the Actions tab10 workflow_dispatch:1112# A workflow run is made up of one or more jobs that can run sequentially or in parallel13jobs:14 # This workflow contains a single job called "build"15 build:16 # The type of runner that the job will run on17 runs-on: ubuntu-latest1819 # Steps represent a sequence of tasks that will be executed as part of the job20 steps:21 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it22 - uses: actions/checkout@v223 - name: Build website24 run: cd website && yarn && yarn buildchore: fix docs deployment attempt 3Michel Weststratebefore adoption144f886
lines 25–32why, one step back25 - name: Deploy to GitHub Pages26 if: success()27 uses: crazy-max/ghaction-github-pages@v228 with:29 target_branch: gh-pages30 build_dir: website/build31 env:32 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}chore: fix docs deployMichel Weststratebefore adoption06c6741
line 33why, one step back33chore: publish docs automaticallyMichel Weststratebefore adoptionb6d92f4
line 34why, one step back34