diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8810c88d8..a4e193ada 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,5 +29,5 @@ jobs: git config --global user.email "github@action.code" git config --global user.name "Github Action" ./scripts/release.sh "${GITHUB_REF/refs\/tags\//}" - git push https://${{ secrets.REGISTRY_TOKEN }}@github.com/${{ secrets.REGISTRY_USERNAME }}/ably-ui.git + git push https://${{ secrets.REGISTRY_TOKEN }}@github.com/${{ secrets.REGISTRY_USERNAME }}/ably/ably-ui.git shell: bash diff --git a/.github/workflows/update-preview.yml b/.github/workflows/update-preview.yml index f774fd4c5..4d099b594 100644 --- a/.github/workflows/update-preview.yml +++ b/.github/workflows/update-preview.yml @@ -27,6 +27,7 @@ jobs: run: | git config --global user.email "github@action.code" git config --global user.name "Github Action" - ./scripts/update-preview.sh "${git describe --abbrev=0}" - git push https://${{ secrets.REGISTRY_TOKEN }}@github.com/${{ secrets.REGISTRY_USERNAME }}/ably-ui.git + TAG=$(git describe --abbrev=0) + ./scripts/update-preview.sh $TAG + git push https://${{ secrets.REGISTRY_TOKEN }}@github.com/${{ secrets.REGISTRY_USERNAME }}/ably/ably-ui.git shell: bash