Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,22 @@ name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
environment:
name: prod
outputs:
release_created: ${{ steps.release.outputs.release_created }}
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.LI_GITHUB_ACTION_TOKEN }}

publish-release:
needs: release-please
runs-on: ubuntu-latest
environment:
name: prod
if: ${{ needs.release-please.outputs.release_created }}
steps:
- uses: linz/action-typescript@v2
Expand Down Expand Up @@ -47,7 +51,7 @@ jobs:
echo "version_major_minor=${GIT_VERSION_MAJOR_MINOR}" >> $GITHUB_OUTPUT

- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
run: echo "${{ secrets.LI_GITHUB_ACTION_TOKEN }}" | docker login ghcr.io -u $ --password-stdin

- name: "basemaps-screenshot/cli - Build and push"
uses: docker/build-push-action@v4
Expand Down