Skip to content

Commit

Permalink
Update github ci and add editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Nov 28, 2023
1 parent f48b2b6 commit e8ea5ae
Show file tree
Hide file tree
Showing 4 changed files with 340 additions and 26 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.yml]
indent_style = space
indent_size = 2
11 changes: 4 additions & 7 deletions .github/workflows/ghp-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- uses: actions/setup-python@v4
with:
python-version: '3.10'
node-version: '18.x'
- run: |
npm ci
npm run build
pip install ghp-import
ghp-import -n ./dist
git push -qf https://github.com/c12i/pixie.git gh-pages
git config --global user.email "hello@collinsmuriuki.xyz"
git config --global user.name "c12i"
npm run deploy
Loading

0 comments on commit e8ea5ae

Please sign in to comment.