Skip to content

revert Python version #31

revert Python version

revert Python version #31

Workflow file for this run

name: Pelican site with Plumage
on:
# Trigger the workflow on push,
# but only for the main branch
push:
branches:
- live
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
publish:
name: publish
runs-on: ubuntu-20.04
steps:
# - name: update system
# run: sudo apt update && sudo apt upgrade -y
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '11'
java-package: jre
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- uses: Gr1N/setup-poetry@v8
with:
poetry-version: "1.2.2"
- run: poetry --version
- uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
- run: |
poetry install
- run: |
poetry run pelican --settings ./publishconf.py ./content
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
email: [email protected]
build_dir: ./output
commit_message: ${{ github.event.head_commit.message }}
cname: blog.kmonsoor.com