Skip to content

Commit

Permalink
fix/cicd: try to fix cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
uptonking committed Dec 28, 2023
1 parent 3e75ff0 commit 21a40cf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 21a40cf

Please sign in to comment.