Skip to content

Commit

Permalink
chore: add docs (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie authored Jun 26, 2024
1 parent 5815de5 commit 5980522
Show file tree
Hide file tree
Showing 220 changed files with 25,755 additions and 15,594 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[{package.json,bower.json,.github/workflows/*.yml,*.md}]
[{**/*.json,bower.json,.github/workflows/*.yml,*.md}]

indent_size = 2
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = {
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"import/no-duplicates": ["error"],
"camelcase": 0,
"max-len": ["error", { code: 180 }],
},
overrides: [
{
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Reusable Deploy

on:
push:
branches:
- main
- docs

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- run: npm ci
- run: |
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "[email protected]"
git remote set-url origin https://git:${GIT_PASS}@github.com/pixijs/assetpack.git
npm run deploy
env:
GIT_USER: $GITHUB_ACTOR
GIT_PASS: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Thumbs.db
.testInput
.testOutput
.assetpack
test/cache
packages/assetpack/test/cache
Loading

0 comments on commit 5980522

Please sign in to comment.