Skip to content

πŸ“ Update changelog #498

πŸ“ Update changelog

πŸ“ Update changelog #498

Workflow file for this run

name: build
on:
push:
branches: [main]
pull_request:
branches: [main]
repository_dispatch:
types: [build]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
timeout-minutes: 6
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout lndocs
uses: actions/checkout@v3
with:
repository: laminlabs/lndocs
ssh-key: ${{ secrets.READ_LNDOCS }}
path: lndocs
ref: main
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: ".github/workflows/build.yml"
- name: cache pre-commit
uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install Python dependencies
run: |
python -m pip install -U pip
pip install -U laminci
- name: Configure AWS
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
# - run: nox -s lint
# - run: nox -s install
- run: nox -s pull_artifacts
- run: nox -s docs
- uses: cloudflare/pages-action@v1
id: cloudflare
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 472bdad691b4483dea759eadb37110bd
projectName: lamin-docs
directory: "_build/html"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
wranglerVersion: "3"