this might work
diff --git a/.github/workflows/node.js.yml b/.github/workflows/deploy.yml
similarity index 80%
rename from .github/workflows/node.js.yml
rename to .github/workflows/deploy.yml
index 63e7126..870c01e 100644
--- a/.github/workflows/node.js.yml
+++ b/.github/workflows/deploy.yml
@@ -1,13 +1,13 @@
# This workflow will build and deploy new versions of DTPS
-name: Node.js Deploy
+name: deploy
on:
push:
branches: [ master ]
jobs:
- build:
+ deploy:
runs-on: ubuntu-latest
@@ -19,3 +19,5 @@
node-version: '12.x'
- run: npm ci
- run: npm run deploy --if-present
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}