Skip to content

Commit

Permalink
Add deploy script.
Browse files Browse the repository at this point in the history
  • Loading branch information
aterenin committed Dec 8, 2023
1 parent 60428c8 commit 92bcc7e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build and Deploy Website

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- run: curl -s -L "https://github.com/getzola/zola/releases/download/v0.17.2/zola-v0.17.2-x86_64-unknown-linux-gnu.tar.gz" | tar xzf - -C /usr/local/bin
- run: echo "b62c19a1e104a0526a48a1f29c05ba90b9a14fe7a17ef6a7978d9610886cc783 /usr/local/bin/zola" | shasum -a 256 -b -c --strict
- run: ls -a
- run: zola build
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "themes/academic-paper"]
path = themes/academic-paper
url = https://github.com/aterenin/academic-paper
url = https://github.com/aterenin/academic-paper.git
1 change: 1 addition & 0 deletions themes/academic-paper
Submodule academic-paper added at 9ed7ea

0 comments on commit 92bcc7e

Please sign in to comment.