- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
37 lines
997 B
YAML
37 lines
997 B
YAML
# Copyright Contributors to the Shapeshifter project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
name: docs-latest
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
permissions:
|
|
contents: write
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0 # checkout branch history required to update
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: 3.12
|
|
- uses: actions/cache@v4
|
|
with:
|
|
key: ${{ github.ref }}
|
|
path: .cache
|
|
- name: Install Poetry and dependencies
|
|
run: |
|
|
pip install poetry
|
|
poetry install --no-interaction
|
|
- name: Configure fake git user to associate commits
|
|
run: |
|
|
git config --global user.name Docs deploy
|
|
git config --global user.email docs-action@shapshifter
|
|
- name: Push the main branch under the alias development
|
|
run: poetry run mike deploy --push --update-aliases development
|