Skip to content

Commit 1494a3e

Browse files
authored
Add GitHub Actions workflow for publishing tile
1 parent 5b6c818 commit 1494a3e

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/publish-tile.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish Tile
2+
3+
permissions:
4+
id-token: write # Required for OIDC token
5+
contents: read # Required to checkout the repository
6+
7+
on:
8+
push:
9+
branches:
10+
- main # Trigger on push / merge to main
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v6
17+
- uses: tesslio/publish@main
18+
with:
19+
token: ${{ secrets.TESSL_API_TOKEN }}
20+
# path: './path/to/tile' # Optional, defaults to current directory”

0 commit comments

Comments
 (0)