Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ray <rihoj1@gmail.com>2022-03-08 18:54:08 +0300
committerGitHub <noreply@github.com>2022-03-08 18:54:08 +0300
commit8caa12724e122347e834121c8dfb926965603335 (patch)
treeac9792aeda5ff20654b8301cfc157ab9cb7bc639
parent309118c0689b7bf002fb0f5fea52b9e14087d2fc (diff)
Auto build (#548)
* add build workflow * add create config Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
-rw-r--r--.github/workflows/build.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..47ff298
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,28 @@
+name: Run Build
+
+# Run action on pull request event
+on: [pull_request]
+
+
+jobs:
+ build:
+ runs-on: ubuntu-18.04
+ steps:
+ # checkout to the commit that has been pushed
+ - uses: actions/checkout@v2.4.0
+ with:
+ submodules: true # Fetch Hugo themes (true OR recursive)
+ fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
+
+ # install Hugo
+ - name: Setup Hugo
+ uses: peaceiris/actions-hugo@v2.5.0
+ with:
+ hugo-version: 'latest'
+ extended: true
+
+ # build website
+ - name: Create Config
+ run: touch config.toml
+ - name: Build
+ run: hugo --minify