Update requirements.txt #14
This file contains 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: Publish To GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Python Requirements | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
shell: bash | |
run: | | |
pip install -r requirements.txt | |
- name: Checkout Flex Theme | |
uses: actions/checkout@v2 | |
with: | |
repository: alexandrevicenzi/Flex | |
path: Flex | |
- name: Install Flex theme | |
shell: bash | |
run: | | |
pelican-themes -i Flex | |
- name: Build Site | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
shell: bash | |
run: | | |
pelican -vv | |
- name: Copy Images | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
shell: bash | |
run: | | |
cp */*/*.png output/ | |
cp */*/*.gif output/ | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: output |