remove marp user from makefile #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
mkdir -p build && chmod -R 0777 build | |
make slides | |
- name: Prepare Deploy | |
if: github.ref == 'refs/heads/master' | |
run: | | |
echo "# This branch is for deployment only" >> build/README.md | |
mv build/slide-deck.html build/index.html | |
- name: Deploy | |
if: github.ref == 'refs/heads/master' | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: build | |
single-commit: true | |
silent: true |