https://github.com/yuler/actions
This repo is collection some GitHub Actions
https://github.com/yuler/actions
Last synced: about 2 months ago
JSON representation
This repo is collection some GitHub Actions
- Host: GitHub
- URL: https://github.com/yuler/actions
- Owner: yuler
- Created: 2021-09-02T10:18:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T03:54:41.000Z (over 2 years ago)
- Last Synced: 2025-04-06T12:13:18.389Z (about 1 year ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Actions
> This repo is collection some GitHub Actions.
Recommend use `gh download`[^gh-download] command.
## Node.js
### [ci.yml](./nodejs/ci.yml)
```bash
gh dl https://github.com/yuler/actions/blob/main/nodejs/ci.yml --outdir .github/workflows
```
Related:
-
### [npm-publish](./nodejs/npm-publish.yml)
```bash
gh dl https://github.com/yuler/actions/blob/main/nodejs/npm-publish.yml --outdir .github/workflows
# Add NPM_TOKEN secret from `~/.npmrc`
gh alias set add-npm-token "secret set NPM_TOKEN --body "$(cat ~/.npmrc | grep _authToken | sed 's/\/\/registry.npmjs.org\/:_authToken=//')""
gh add-npm-token
```
Related:
-
## Miniprogram
### [miniprogram-upload](./miniprogram/miniprogram-upload.yml)
```bash
gh dl https://github.com/yuler/actions/blob/main/miniprogram/miniprogram-upload.yml --outdir .github/workflows
gh secret set MINIPROGRAM_APP_ID <$appId>
gh secret set MINIPROGRAM_PRIVATE_KEY < apps/mini/private.<$appId>.key
```
## Misc
### [sync-gitlab](./misc/sync-gitlab.yml)
```bash
gh dl https://github.com/yuler/actions/blob/main/misc/sync-gitlab.yml --outdir .github/workflows
gh secret set GITLAB_TOKEN <$YOUR_GITLAB_TOKEN>
```
### [cron](./misc/cron.yml)
```bash
gh dl https://github.com/yuler/actions/blob/main/misc/cron.yml --outdir .github/workflows
gh secret set GITLAB_TOKEN <$YOUR_GITLAB_TOKEN>
```
Related:
-
### [release](./misc/release-drafter.yml)
> Recommend use [release-drafter](https://github.com/release-drafter/release-drafter) action.
```bash
gh dl https://github.com/yuler/actions/blob/main/misc/drafter.yml --outdir .github/workflows
gh dl https://github.com/yuler/actions/blob/main/misc/release-drafter.yml --outdir .github
```
**Note** Must first have the configuration file in the default branch
Related:
-
-
## Related
- [Awesome Actions](https://github.com/sdras/awesome-actions)
- [Act](https://github.com/nektos/act) - Run your GitHub Actions locally
[^gh-download]: The `gh download` command is come from [gh-download](https://github.com/yuler/gh-download)
## Rails
### [ci.yml](./rails/ci.yml)
```bash
gh dl https://github.com/yuler/actions/blob/main/rails/ci.yml --outdir .github/workflows
```