Skip to content

Commit

Permalink
github action
Browse files Browse the repository at this point in the history
  • Loading branch information
EnigmaCurry committed Mar 11, 2024
1 parent acb4381 commit 64efc07
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: deploy

on:
push:
branches:
- ox-hugo

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: purcell/setup-emacs@master
with:
version: 29.2

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.123.7'
extended: true

- uses: actions/checkout@v4

- name: Install
run: 'make install'

- name: Build
run: 'make'

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 64efc07

Please sign in to comment.