Skip to content

Commit

Permalink
[CHORE] 폴더명에서 버전을 제거해 여러 버전이 배포에 포함되는 것을 방지 (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzrabbit authored Nov 3, 2024
1 parent 797f11d commit 1a43abb
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/project-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ jobs:
run: |
npm ci
- name: Get Version from package.json
id: get_version
run: |
VERSION=$(jq -r '.version' package.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Build MV3 Project (for Chrome)
run: |
npm run build
Expand All @@ -43,13 +37,13 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.output/chrome-mv3
destination_dir: ./totamjung/v${{ env.VERSION }}-chrome-mv3
destination_dir: ./chrome-mv3
publish_branch: deploy

- name: Deploy MV2 Project (for Firefox)
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.output/firefox-mv2
destination_dir: ./totamjung/v${{ env.VERSION }}-firefox-mv2
destination_dir: ./firefox-mv2
publish_branch: deploy

0 comments on commit 1a43abb

Please sign in to comment.