From 8b744f73539d01ba6bbb6d8bbffb7cc21f989d9c Mon Sep 17 00:00:00 2001 From: Brad House Date: Thu, 4 Jul 2024 06:56:08 -0400 Subject: [PATCH] enable deploy --- .github/workflows/deploy-pages.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 3fe42ba..57e1f6a 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -53,13 +53,14 @@ jobs: uses: actions/upload-pages-artifact@v3 # Deployment job -# deploy: -# environment: -# name: github-pages -# url: ${{ steps.deployment.outputs.page_url }} -# runs-on: ubuntu-latest -# needs: build -# steps: -# - name: Deploy to GitHub Pages -# id: deployment -# uses: actions/deploy-pages@v4 +deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + if: github.repository == 'c-ares/c-ares.github.io' && github.refs == 'refs/heads/main' + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4