Skip to content

Update backup config file paths (#30) #10

Update backup config file paths (#30)

Update backup config file paths (#30) #10

Workflow file for this run

name: Overwrite Latest Version
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
cache: "pip"
- run: pip install -r requirements.txt
- name: Fetch full gh-pages branch and create user
run: |
git fetch origin gh-pages --depth=1
git config user.name ci-bot
git config user.email [email protected]
- name: Get current latest version number
run: |
echo "version=$(mike list latest | awk -F'[()]' '{print $2}')" >> $GITHUB_ENV
- run: |
mike deploy -u -p ${{ env.version }} latest -t latest