Added the Limebeer 2006 paper to the guide. #619
This file contains hidden or 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: Build Website | |
| on: | |
| push: | |
| branches: source | |
| pull_request: | |
| branches: source | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [3.12] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install pelican pyyaml beautifulsoup4 ghp-import | |
| git clone --depth=1 --single-branch --branch mechmotum https://github.com/mechmotum/pelican-alchemy.git | |
| git clone --depth=1 https://github.com/getpelican/pelican-plugins.git | |
| - name: Build the website | |
| run: | | |
| pelican -D -v --fatal errors -s publishconf.py -o output | |
| sed -i 's/<ol /<ol reversed /g' output/products.html | |
| - name: Deploy the website | |
| if: ${{ github.event_name == 'push' }} | |
| run: | | |
| git fetch origin | |
| git checkout master | |
| git pull origin master | |
| git config --global user.name "Github Actions" | |
| git config --global user.email [email protected] | |
| git remote add deploy "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/mechmotum/mechmotum.github.io.git" | |
| ghp-import -r deploy -b master -m "Updated via Github Actions [skip ci]" -p output |