Skip to content

Commit 259ece7

Browse files
committed
ci: update release package
1 parent 7a34b46 commit 259ece7

1 file changed

Lines changed: 41 additions & 2 deletions

File tree

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
1-
name: '📦 Publish › NPM Package'
2-
run-name: '📦 Publish › NPM Package'
1+
# #
2+
# @type github workflow
3+
# @author Aetherinox
4+
# @url https://github.com/Aetherinox
5+
# @usage publish releases for repo node-noxenv
6+
# releases the nodejs package on Github GHCR, NpmJS, and as a Github release.
7+
# Includes setting to release on Github only
8+
#
9+
# @secrets secrets.SELF_TOKEN self github personal access token (fine-grained)
10+
# secrets.SELF_TOKEN_CL self github personal access token (classic)
11+
# secrets.NPM_TOKEN self npmjs access token
12+
# secrets.PYPI_API_TOKEN self Pypi API token (production site) - https://pypi.org/
13+
# secrets.PYPI_API_TEST_TOKEN self Pypi API token (test site) - https://test.pypi.org/
14+
# secrets.SELF_DOCKERHUB_TOKEN self Dockerhub token
15+
# secrets.CODECOV_TOKEN codecov upload token for nodejs projects
16+
# secrets.MAXMIND_GELITE_TOKEN maxmind API token
17+
# secrets.CF_ACCOUNT_ID cloudflare account id
18+
# secrets.CF_ACCOUNT_TOKEN cloudflare account token
19+
# secrets.ORG_TOKEN org github personal access token (fine-grained)
20+
# secrets.ORG_TOKEN_CL org github personal access token (classic)
21+
# secrets.ORG_DOCKERHUB_TOKEN org dockerhub secret
22+
# secrets.ORG_GITEA_TOKEN org gitea personal access token (classic) with package:write permission
23+
# secrets.BOT_GPG_KEY_ASC bot gpg private key (armored) | BEGIN PGP PRIVATE KEY BLOCK
24+
# secrets.BOT_GPG_KEY_B64 bot gpg private key (binary) converted to base64
25+
# secrets.BOT_GPG_PASSPHRASE bot gpg private key passphrase
26+
# secrets.DISCORD_WEBHOOK_CHAN_GITHUB_RELEASES discord webhook to report release notifications from github to discord
27+
# secrets.DISCORD_WEBHOOK_CHAN_GITHUB_WORKFLOWS discord webhook to report workflow notifications from github to discord
28+
# secrets.DISCORD_WEBHOOK_CHAN_GITHUB_UPDATES discord webhook to report activity notifications from github to discord
29+
#
30+
# @local these workflows can be tested locally through the use of `act`
31+
# https://github.com/nektos/act
32+
# Extract act to folder
33+
# Add system env var with path to act.exe
34+
# Run the commands:
35+
# git pull https://github.com/username/repo
36+
# act -W .github/workflows/labels-create.yml -P ubuntu-latest=catthehacker/ubuntu:full-22.04
37+
# act -W .github/workflows/labels-create.yml -s TOKEN_CL=XXXXXXXXXX --pull=false
38+
# #
39+
40+
name: '📦 Publish › Release Package'
41+
run-name: '📦 Publish › Release Package'
342

443
on:
544
workflow_dispatch:

0 commit comments

Comments
 (0)