From 21a40cfd17eaf7f9ff12db8cc9286036d94d3d2e Mon Sep 17 00:00:00 2001 From: uptonking Date: Fri, 29 Dec 2023 06:26:32 +0800 Subject: [PATCH] fix/cicd: try to fix cicd --- .github/workflows/deploy-github-pages.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index db63b53..ca845b3 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -4,8 +4,7 @@ name: Deploy React to GitHub Pages on: # Runs on pushes targeting the default branch push: - branches: [$default-branch] - + branches: [ 'main' ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -70,9 +69,9 @@ jobs: # Deployment job deploy: - # environment: - # name: github-pages - # url: ${{ steps.deployment.outputs.page_url }} + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-22.04 needs: build steps: