Skip to content

feat: publish 0.28.0 on 2023-10-25T23:07:03+00:00 #18

feat: publish 0.28.0 on 2023-10-25T23:07:03+00:00

feat: publish 0.28.0 on 2023-10-25T23:07:03+00:00 #18

Workflow file for this run

name: deploy website
on:
push:
branches:
- master # Set a branch to deploy
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.102.3'
extended: true
- name: Build
run: hugo -d public
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
user_name: 'cobrapy-bot'
user_email: '[email protected]'
personal_token: ${{ secrets.PERSONAL_TOKEN }}
external_repository: opencobra/cobrapy
publish_dir: ./public
publish_branch: gh-pages