Skip to content

Commit

Permalink
correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonnie Mo authored and Bonnie Mo committed Dec 5, 2023
1 parent c92b715 commit b622963
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
test-build:
name: Test & Build
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -26,14 +28,14 @@ jobs:
run: npm test
- name: build the code
run: npm run build
- name: Build
env:
VITE_APP_PUBLIC_URL: /example-react-cicd/
- name: Deploying to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
- name: Build
env:
VITE_APP_PUBLIC_URL: /example-react-cicd/

# TODO: Run tests here
# TODO: Run build here
Expand Down

0 comments on commit b622963

Please sign in to comment.