Skip to content

Commit

Permalink
Update CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Namorzyny committed Jul 5, 2023
1 parent d2e9b15 commit b513099
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Update Fonts'
on:
push:
branches:
- chore/orphan-branch
- workflow

jobs:
update-fonts:
Expand All @@ -16,23 +16,15 @@ jobs:
with:
path: node_modules
key: node_modules
- run: yarn
- run: |
npx tsx ./src/fetch-list.ts
npx tsx ./src/download-fonts.ts
npx tsx ./src/generate-css.ts
- run: |
git status
git config user.email [email protected]
git config user.name Namorzyny
git checkout --orphan test
git checkout --orphan master
git add .
git commit -m "Update to version: `node -p "require('./package.json').version"`" || echo 'Nothing was commited.'
git push -f origin test
# - run: yarn
# - run: |
# npx tsx ./src/fetch-list.ts
# npx tsx ./src/download-fonts.ts
# npx tsx ./src/generate-css.ts
# - run: |
# git config user.email [email protected]
# git config user.name Namorzyny
# git add .
# git commit -m "Update to version: `node -p "require('./package.json').version"`" || echo 'Nothing was commited.'
# git push
git push -f origin master

0 comments on commit b513099

Please sign in to comment.