Skip to content

Commit

Permalink
Be able to push to GitHub from publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Sep 9, 2024
1 parent a2a1812 commit 5129b90
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
publish-package:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4

Expand All @@ -41,6 +44,13 @@ jobs:
version: latest
run_install: true

- name: Setup git
run: |
# git config user.name "${GITHUB_ACTOR}"
# git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config user.name "Fawad Ali"
git config user.email "[email protected]"
- name: Build package
run: pnpm build

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "three-panorama-controls",
"version": "0.0.0",
"version": "1.0.0",
"description": "Panorama controls for three.js.",
"author": "Fawad Ali <[email protected]>",
"license": "Apache-2.0",
Expand Down

0 comments on commit 5129b90

Please sign in to comment.