Skip to content

Merge pull request #34 from Everbeek17/patch-1 #81

Merge pull request #34 from Everbeek17/patch-1

Merge pull request #34 from Everbeek17/patch-1 #81

Workflow file for this run

name: build
on:
push:
branches:
- master
jobs:
buildpages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: install
run: |
python3 -m pip install -U pip
python3 -m pip install -r requirements.txt
- name: add_path
run: |
echo "/home/runner/.local/bin" >> $GITHUB_PATH
- name: build
run: |
make html
touch _build/html/.nojekyll
ls -altr _build/html
- name: Install SSH Client
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.PRODUCTION_WEB_PAGE_DEPLOY }}
- name: deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.PRODUCTION_WEB_PAGE_DEPLOY }}
SSH: true
BRANCH: main # The branch the action should deploy to.
FOLDER: _build/html # The folder the action should deploy.
CLEAN: false # Automatically remove deleted files from the deploy branch
REPOSITORY_NAME: mit-satori/mit-satori.github.io
ACCESS_TOKEN: ${{ secrets.PRODUCTION_WEB_PAGE_DEPLOY }}
TARGET_FOLDER: docs