Skip to content

Commit

Permalink
fix(publish-yml): vite creates dist instead of build folder
Browse files Browse the repository at this point in the history
  • Loading branch information
sijav committed Oct 25, 2023
1 parent 4e2c42f commit 2291825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
with:
runCmd: PUBLIC_URL=https://cdn.some.engineering/fix-ui/${{ github.sha }}/ yarn build

- name: Move build to target
- name: Move dist to target
run: |
mkdir -p target/${{ github.sha }}
cp -r build/* target/${{ github.sha }}
cp -r dist/* target/${{ github.sha }}
- name: Publish the new version to the CDN
uses: BetaHuhn/do-spaces-action@v2
Expand Down

0 comments on commit 2291825

Please sign in to comment.