Skip to content

Commit

Permalink
Update remove publish npm section and bring back create release
Browse files Browse the repository at this point in the history
  • Loading branch information
bigzaja4 committed Jan 15, 2024
1 parent 7c26c86 commit 7b5c303
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,17 @@ env:
ECR_REGISTRY: ${{ secrets.AWS_ECR_REGISTRY }}

jobs:
# create-release:
# name: Create Release
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3

# - name: Create release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: gh release create "$GITHUB_REF_NAME" --notes "Directus $GITHUB_REF_NAME"

# publish-npm:
# name: Publish to NPM
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3

# - name: Prepare
# uses: ./.github/actions/prepare
# with:
# registry: https://registry.npmjs.org
create-release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

# - name: Publish packages to NPM
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: pnpm --recursive publish --access=public --no-git-checks
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create "$GITHUB_REF_NAME" --notes "Directus $GITHUB_REF_NAME"

build-images:
name: Build Images
Expand Down

0 comments on commit 7b5c303

Please sign in to comment.