Skip to content

Visualize Your Ideas With Code

ci: configure github token (#587)

Jacob2fb7aa68c756
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 180a2c49..e1724b14 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -27,12 +27,12 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
+ token: ${{secrets.PUBLISH_TOKEN}}
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: npm
- - run: git remote set-url origin https://${{ secrets.PUBLISH_TOKEN }}@github.com/motion-canvas/motion-canvas
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "motion-canvas-bot"
- run: npm ci