From 6290ffafa9431dbb54a4df2698c519f7a62496ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=A7=89=20infominer?= Date: Sat, 26 Nov 2022 20:08:22 -0500 Subject: [PATCH] test new jekyll action --- .github/workflows/github-pages.yml | 24 ++++++++++++++++++++++++ .github/workflows/jekyllbuild.yml | 17 ----------------- 2 files changed, 24 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/github-pages.yml delete mode 100644 .github/workflows/jekyllbuild.yml diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml new file mode 100644 index 00000000..1b2ecd7e --- /dev/null +++ b/.github/workflows/github-pages.yml @@ -0,0 +1,24 @@ +name: Build and deploy Jekyll site to GitHub Pages + +on: + push: + branches: + - master + paths-ignore: + - '_data/**' + - '.github/workflows/twitter.yml' + +jobs: + github-pages: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/cache@v2 + with: + path: vendor/bundle + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }} + restore-keys: | + ${{ runner.os }}-gems- + - uses: helaili/jekyll-action@2.0.5 # Choose any one of the Jekyll Actions + with: # Some relative inputs of your action + token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/jekyllbuild.yml b/.github/workflows/jekyllbuild.yml deleted file mode 100644 index 1adbf973..00000000 --- a/.github/workflows/jekyllbuild.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Build and deploy Jekyll site to GitHub Pages - -on: - push: - branches: - - master - paths-ignore: - - '_data/**' - - '.github/workflows/twitter.yml' -jobs: - github-pages: - runs-on: ubuntu-16.04 - steps: - - uses: actions/checkout@v2 - - uses: helaili/jekyll-action@2.0.1 - env: - JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }} \ No newline at end of file