Skip to content

Commit

Permalink
fix(cd): copy pnp files to production branch
Browse files Browse the repository at this point in the history
  • Loading branch information
wopian committed Feb 14, 2023
1 parent b4a4399 commit fcaa244
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
cp package.json dist/package.json
cp yarn.lock dist/yarn.lock
cp .yarnrc.yml dist/.yarnrc.yml
cp .pnp.cjs dist/.pnp.cjs
cp .pnp.loader.mjs dist/.pnp.loader.mjs
mkdir -p dist/.yarn/releases
cp -r .yarn/releases/ dist/.yarn/
mkdir -p dist/.yarn/plugins
Expand All @@ -58,7 +60,7 @@ jobs:
FOLDER: dist
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SKIP_EMPTY_COMMITS: true
MESSAGE: ${{ github.event.release.tag_name }} {sha} $(date +'%Y-%m-%dT%H:%M:%S')
MESSAGE: ${{ github.event.release.tag_name }} {sha}

- name: Announce Deployment
if: success()
Expand Down

0 comments on commit fcaa244

Please sign in to comment.