WIP: Document how Packit team kanbanz #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test deployment of docs | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "docs/**" | |
jobs: | |
test-deploy: | |
name: Test deployment of docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: "packit/packit.dev" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Import the nested docs | |
run: make import | |
- name: Remove the ‹main› of ‹agile› | |
run: rm -rf .agile-docs agile | |
- name: Checkout the PR | |
uses: actions/checkout@v3 | |
with: | |
path: ".agile-docs" | |
- name: Move out the ‹agile› | |
run: mv .agile-docs/docs agile | |
- name: Generate newer usage graphs | |
run: | | |
pip3 install click requests pygal | |
python3 files/generate_usage.py | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Test build website | |
run: yarn build |