Skip to content

Commit

Permalink
fix deploy.yml add working-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
imagine10255 committed Oct 17, 2024
1 parent 725e5cb commit f5441dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
deploy:
runs-on: ubuntu-latest

defaults:
run:
working-directory: ./example

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -20,7 +24,6 @@ jobs:

- name: Replace local links with actual versions
run: |
cd example
sed -i 's#"@acrool/react-skeleton": "link:.."#"@acrool/react-skeleton": "1.0.0"#' package.json
sed -i 's#"react": "link:../node_modules/react"#"react": "^18.0.0"#' package.json
sed -i 's#"react-dom": "link:../node_modules/react-dom"#"react-dom": "^18.0.0"#' package.json
Expand Down

0 comments on commit f5441dd

Please sign in to comment.