Skip to content

Commit

Permalink
feat: update boilerplate on schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cstrnt committed May 25, 2021
1 parent 5e9e72d commit 2a0eea6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
UPDATE_SITE_TOKEN: ${{ secrets.UPDATE_PRIVATE_DOCS_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: update submodules
- name: update docs
run: |
git clone https://withfig-bot:[email protected]/withfig/public-site-nextjs.git
cd public-site-nextjs
Expand All @@ -32,3 +32,19 @@ jobs:
git commit -m "added updates to docs" --allow-empty
git push origin main --force
- uses: actions/checkout@v2
- name: update boilerplate
run: |
git clone https://withfig-bot:[email protected]/withfig/autocomplete-boilerplate.git
cp schemas/fig.d.ts autocomplete-boilerplate/schemas/fig.d.ts
cd autocomplete-boilerplate
git config user.email "[email protected]"
git config user.name "Figbot"
git add schemas/fig.d.ts
git commit -m "chore: sync schema changes" --allow-empty
git push origin main --force

0 comments on commit 2a0eea6

Please sign in to comment.