Menambahkahkan deskripsi ke postingan terbaru. #221
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: Build GitHub Pages | |
on: | |
push: | |
paths-ignore: | |
- "images/**" | |
- "LICENSE" | |
- "README.md" | |
branches: | |
- master | |
workflow_dispatch: | |
# manual run | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: master | |
- name: Get Theme | |
run: git submodule update --init --recursive | |
- name: Setup hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: "0.121.2" | |
extended: true | |
- name: Build | |
run: hugo --buildDrafts --baseURL="https://nawan95.github.io/nawan/" --gc --verbose --minify | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./public |