Skip to content

Commit

Permalink
Atualiza ações e Jekyll
Browse files Browse the repository at this point in the history
  • Loading branch information
p3palazzo committed Feb 19, 2024
1 parent 8d15699 commit 57aa2e2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: 'true'
submodules: 'recursive'
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v4
- name: Build with Jekyll
run : make
run : make _site
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ AULA = $(wildcard _aula/*.md)
SLIDES = $(patsubst _aula/%.md,slides/%/index.html,$(AULA))
SASS = _revealjs-settings.scss \
mixins.scss settings.scss theme.scss
MARKDOWN = $(patsubst _aula/%.md,docs/%.md,$(AULA))

# {{{1 Recipes
# =======
docs: $(MARKDOWN)

docs/%.md : _aula/%.md biblio.yaml defaults.yaml
pandoc -o $@ -d _data/defaults.yaml $<

.PHONY : _site
_site : $(SLIDES)
@echo "####################"
Expand Down

0 comments on commit 57aa2e2

Please sign in to comment.