From ea16b7fc99b8061754703b69b66ddd3e6c2031c5 Mon Sep 17 00:00:00 2001 From: Shane Curcuru Date: Tue, 23 May 2023 10:56:23 -0400 Subject: [PATCH] Create jekyll-build-pages.yml Uses suggested improved actions script --- .github/workflows/jekyll-build-pages.yml | 31 ++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/jekyll-build-pages.yml diff --git a/.github/workflows/jekyll-build-pages.yml b/.github/workflows/jekyll-build-pages.yml new file mode 100644 index 0000000..94feabd --- /dev/null +++ b/.github/workflows/jekyll-build-pages.yml @@ -0,0 +1,31 @@ +# From https://github.com/actions/jekyll-build-pages +name: Build And Deploy Jekyll to Pages +on: + push: + branches: ["main"] +permissions: + contents: read + pages: write + id-token: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Build + uses: actions/jekyll-build-pages@v1.0.7 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + deploy: + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }}