diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml index 48a54fd1..cab3b473 100644 --- a/.github/workflows/deploy-release.yml +++ b/.github/workflows/deploy-release.yml @@ -2,11 +2,6 @@ name: Publish Next Release (Manual) on: workflow_dispatch: - inputs: - ref: - description: Reference git commit to release (e.g. "master", "12341fa") - required: true - default: master env: NODE_VERSION: 18 @@ -16,8 +11,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - ref: ${{ github.event.inputs.ref }} - name: AWS, credentials setup uses: aws-actions/configure-aws-credentials@v4 @@ -28,7 +21,7 @@ jobs: - name: Add INPUT_SHA env var run: | - export INPUT_SHA=$(git rev-parse ${{ github.event.inputs.ref }}) + export INPUT_SHA=$(git rev-parse ${{ github.ref }}) echo "INPUT_SHA=`echo $INPUT_SHA`" >> $GITHUB_ENV - name: Install branch-github-actions @@ -60,6 +53,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} + registry-url: 'https://registry.npmjs.org' # Do this before npm configure because it writes the package.json version - name: Write version to files