Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie committed Jun 7, 2024
1 parent 3499701 commit 0a24d06
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/deploy-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ on:
branches:
- main

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

jobs:
release_candidate:
deploy:
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -20,4 +21,12 @@ jobs:
uses: ./.github/actions/setup

- name: Build Project
run: npm run deploy
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/pixijs/spine-v8.git
npm run build
npm run docs
npm run upload -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test": "xs test",
"types": "xs types",
"watch": "xs watch",
"deploy": "xs deploy"
"upload": "xs upload"
},
"dependencies": {
"@esotericsoftware/spine-core": "~4.2.45"
Expand Down

0 comments on commit 0a24d06

Please sign in to comment.