22 lines
612 B
YAML
22 lines
612 B
YAML
name: Build & Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-or-sth:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo "hi!"
|
|
- name: Clone repo
|
|
run: git clone --recurse-submodules https://git.emin.software/haxala1r/blog.git --depth=1 .
|
|
- name: Get hugo
|
|
run: wget https://github.com/gohugoio/hugo/releases/download/v0.138.0/hugo_0.138.0_linux-amd64.tar.gz -O hugo.tar.gz
|
|
- run: tar xzvf hugo.tar.gz
|
|
- run: pwd
|
|
- run: ls -la
|
|
- name: build
|
|
run: ./hugo
|