From 60ca71a357afed8ce41092c3a6b1454565c9e845 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 13 May 2022 18:07:40 +0800 Subject: [PATCH] Migrate from Travis CI to GitHub Actions --- .github/workflows/build.yml | 19 +++++++++++++++++++ CHANGELOG.adoc | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..637efd9 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 827e2de..e5badf3 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -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