Skip to content

Merge pull request #35 from adamdrucker/2022-chages #80

Merge pull request #35 from adamdrucker/2022-chages

Merge pull request #35 from adamdrucker/2022-chages #80

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