diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fcaeb463..cf26b90ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,23 +72,16 @@ jobs: id: get_tag_version run: echo ::set-output name=TAG_VERSION::${GITHUB_REF/refs\/tags\//} - - name: Build deno.land/x - uses: s0/git-publish-subdir-action@92faf786f11dfa44fc366ac3eb274d193ca1af7e + - name: Publish deno.land/x + uses: denoland/publish-folder@82ce065074e7174baf444332c4b7c40869a4909a if: contains(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/') - env: - REPO: self - BRANCH: deno_registry - FOLDER: js - COMMIT_NAME: denobot - COMMIT_EMAIL: denobot@users.noreply.github.com - GITHUB_TOKEN: ${{ secrets.DENOBOT_PAT }} - - - name: Tag deno.land/x - if: contains(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/') - run: | - git fetch origin deno_registry - git tag deno/${{steps.get_tag_version.outputs.TAG_VERSION}} origin/deno_registry - git push deno/${{steps.get_tag_version.outputs.TAG_VERSION}} + with: + folder: js + branch: deno_registry + tag: deno/${{ steps.get_tag_version.outputs.TAG_VERSION }} + token: ${{ secrets.DENOBOT_PAT }} + git-user-name: denobot + git-user-email: denobot@users.noreply.github.com # NPM Distribution - name: Setup node