Skip to content

Commit c8af3bf

Browse files
authored
workflows: rebuild atlas on push to main (#3)
* workflows: rebuild atlas on push to main Same as: redbrick/blog#29 And: redbrick/open-governance#19 * add distict name, add both main and master
1 parent d6c782c commit c8af3bf

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/rebuild-atlas.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Trigger atlas rebuild
2+
3+
on:
4+
push:
5+
branches: [ "main", "master" ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
timeout-minutes: 60
11+
steps:
12+
- name: Trigger atlas rebuild
13+
uses: peter-evans/repository-dispatch@v3
14+
with:
15+
token: ${{ secrets.ATLAS_TOKEN }}
16+
repository: redbrick/atlas
17+
event-type: design-system-rebuild

0 commit comments

Comments
 (0)