This repository was archived by the owner on Apr 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (44 loc) · 1.7 KB
/
update-design-tokens.yaml
File metadata and controls
46 lines (44 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Update Design Tokens
on:
workflow_dispatch:
schedule:
- cron: "0 */4 * * *"
jobs:
update-design-tokens:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Specify CLI
run: npm install -g @specifyapp/cli;
- name: Pull design data from Specify
run: |
specify pull \
-r @acme-inc/General \
-C ./.specify/general.js \
-p ${{ secrets.SPECIFY_TOKEN }};
specify pull \
-r @acme-inc/Light-Theme \
-C ./.specify/light-theme.js \
-p ${{ secrets.SPECIFY_TOKEN }};
specify pull \
-r @acme-inc/Dark-Theme \
-C ./.specify/dark-theme.js \
-p ${{ secrets.SPECIFY_TOKEN }};
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update design tokens
title: 'Update design tokens'
body: >
The design tokens and assets contained in this PR come from your [Specify](https://www.specifyapp.com) repositories set in your GitHub Action.<br>
<br>
Useful resources:<br>
- ℹ️ [Documentation](https://docs.specifyapp.com)<br>
- 🙋 [Help Center](https://help.specifyapp.com)<br>
- ⚙️ [Parsers](https://github.com/Specifyapp/parsers/)<br>
- 👥 [Join our Discord community](https://discord.com/invite/vMkDk4CbG4)<br>
<br>
If you need further assistance feel free to reach out at: [hello@specifyapp.com](mailto:hello@specifyapp.com).
branch: specify
labels: Design Tokens