mirror of
https://github.com/foo-dogsquared/hugo-theme-contentful.git
synced 2025-01-30 16:57:56 +00:00
Migrate from Travis CI to GitHub Actions
This commit is contained in:
parent
653c4d04ff
commit
60ca71a357
19
.github/workflows/build.yml
vendored
Normal file
19
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: "Build demo"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v17
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixpkgs-unstable
|
||||
- run: nix develop -c hugo -s ./exampleSite/
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: exampleSite/public
|
@ -21,6 +21,8 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version
|
||||
|
||||
* Move the example site into the project for easier testing and development.
|
||||
|
||||
* Migrate from Travis CI to GitHub Actions.
|
||||
|
||||
|
||||
=== Removed
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user