Skip to content

Commit

Permalink
fix: CI/CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhoJJang committed Aug 16, 2024
1 parent 9f5a988 commit 8e2b246
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/nextjs-prod-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: NextJS CD
on:
release:
types: [created]
push:
branches:
- MF-361-Next.js-CD-Github-Action
workflow_dispatch:
repository_dispatch:

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/nextjs-prod-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- MF-361-Next.js-CD-Github-Action
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -108,9 +109,10 @@ jobs:
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT }}
with:
tag_name: ${{ steps.create_tag.outputs.NEW_TAG }}
release_name: Release ${{ steps.create_tag.outputs.NEW_TAG }}
draft: false
prerelease: false
token: ${{ secrets.PAT }}

0 comments on commit 8e2b246

Please sign in to comment.