A github action that publishes a Tessl tile
Create .github/workflows/publish-tile.yml in your repository with the
following content:
name: Publish Tile
permissions:
id-token: write # Required for OIDC token
contents: read # Required to checkout the repository
on:
push:
branches:
- main # Trigger on push / merge to main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: tesslio/publish@main
with:
token: ${{ secrets.TESSL_API_TOKEN }}
# path: './path/to/tile' # Optional, defaults to current directory