Skip to content

Updated the readme to include links to Jeckyll and a brief subsection… fixes #300 #2495

Updated the readme to include links to Jeckyll and a brief subsection… fixes #300

Updated the readme to include links to Jeckyll and a brief subsection… fixes #300 #2495

on: [push, pull_request]
name: Build and Deploy Glossary Website
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
with:
persist-credentials: false
- name: Build site
run: make gh-site
- name: Remove _data fromm .gitignore
run: "grep -v '_data' .gitignore > tmpfile && mv tmpfile .gitignore"
- name: inspect content of folder
run: ls -alh _gh-site && ls -alh _gh-site/_data
- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'carpentries/glosario' }}
uses: maxheld83/ghpages@v0.3.0
env:
BUILD_DIR: _gh-site/
GH_PAT: ${{ secrets.GH_PAT_DEPLOY }}