Skip to content

remove job ad at UF #45

remove job ad at UF

remove job ad at UF #45

Workflow file for this run

name: Deploy Preview
on: pull_request
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install SSH Client
continue-on-error: true
uses: webfactory/ssh-agent@v0.2.0
with:
ssh-private-key: ${{ secrets.FRANKLIN_PRIV }}
# NOTE: uncomment the following lines if you intend to use PyPlot
# - name: Install python
# uses: actions/setup-python@v1
# with:
# python-version: '3.x'
# - run: pip install matplotlib
- name: Install Julia
uses: julia-actions/setup-julia@v1
with:
version: 1.7
# NOTE
# Adjust the `input=""` on the last line to indicate where
# the source of the package page is (`page/` by default).
#
# Adjust also `output=""` on the last line if you want
# the page to be deployed in a specific folder on master
# if you do that, make sure that you adjust the `prepath`
# variable in `config.md` accordingly! so for instance
# if you set here `folder="web"` change prepath for
# `@def prepath = "YourPackage.jl/web"`
- run: julia -e '
using Pkg;
Pkg.add(["NodeJS", "PkgPage", "DataFrames"]);
using NodeJS;
run(`$(npm_cmd()) install highlight.js purgecss`);
import PkgPage;
PkgPage.optimize(input="page", output="")'
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.2
with:
publish-dir: page/__site
production-deploy: false
enable-commit-comment: true
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}