From 52e6c86729b2ed605483a710db7d182044451117 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Wed, 4 Oct 2023 14:11:44 -0400 Subject: [PATCH] ci: Add pages workflow --- .github/workflows/pages.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pages.yml diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..1a3ff98 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,22 @@ +name: Pages +on: + push: + branches: [main] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: | + mkdir dist + cp badges.md dist/README.md + - uses: actions/upload-pages-artifact@v2 + deploy: + needs: build + runs-on: ubuntu-latest + steps: + - id: deployment + uses: actions/deploy-pages@v2 + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }}