Skip to content

Remove the news, stories, and pt version #94

Remove the news, stories, and pt version

Remove the news, stories, and pt version #94

Workflow file for this run

name: build-html
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install Nene
run: python -m pip install nene==0.5.*
- name: Build the website
run: make
- name: Add extra files for GitHub pages
run: |
touch _build/.nojekyll
echo "www.acarolcolombo.com" > _build/CNAME
- name: Push to acarolcolombo.github.io
if: success() && github.event_name == 'push'
# Don't use tags: https://julienrenaux.fr/2019/12/20/github-actions-security-risk/
uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: acarolcolombo/acarolcolombo.github.io
publish_branch: master
publish_dir: ./_build
# Only keep the latest commit to avoid bloating the repository
force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'