Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

Commit ef0f32a

Browse files
Create npm-manual-publish.yml
1 parent 5d49880 commit ef0f32a

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This is a basic workflow that is manually triggered
2+
3+
name: npm-manual-publish
4+
5+
# Controls when the action will run. Workflow runs when manually triggered using the UI
6+
# or API.
7+
on:
8+
workflow_dispatch:
9+
jobs:
10+
publish-latest:
11+
name: publish-latest
12+
runs-on: ubuntu-18.04
13+
steps:
14+
- name: checkout
15+
uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
18+
ref: ${{ github.ref }}
19+
- name: node
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: 14
23+
registry-url: https://registry.npmjs.org/
24+
- name: publish
25+
run: npm publish --access public
26+
env:
27+
NODE_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}

0 commit comments

Comments
 (0)