An open API service indexing awesome lists of open source software.

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

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
```