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

Commit a641157

Browse files
committed
Merge branch 'main' of https://github.com/NotTCA/create-djs-app into dev
2 parents dbf4dce + f798bd6 commit a641157

File tree

2 files changed

+16
-21
lines changed

2 files changed

+16
-21
lines changed

.github/workflows/publish-dev.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ on:
66

77
jobs:
88
publish:
9+
if: ${{ github.event.action }} == 'released'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: 12
16+
registry-url: https://registry.npmjs.org/
17+
- uses: borales/[email protected]
18+
with:
19+
cmd: install
20+
- run: npm publish
21+
env:
22+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
23+
publish-dev:
24+
if: ${{ github.event.action }} == 'prereleased'
925
runs-on: ubuntu-latest
1026
steps:
1127
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)