Skip to content

Commit

Permalink
First init
Browse files Browse the repository at this point in the history
  • Loading branch information
dmdboi committed Dec 15, 2022
0 parents commit aa9f417
Show file tree
Hide file tree
Showing 761 changed files with 116,607 additions and 0 deletions.
Empty file added .gitignore
Empty file.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Adonis Build Action

A Github Action for building Adonis projects and optionally pushing it to a different branch

## Usage

```
name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Build and push
uses: dmdboi/adonis-build-action
with:
pushToBranch: true # optional; can either be true or false | defaults to false
branch: 'dist' # optional; the name of the branch the action should push the compiled code to | defaults to dist
githubToken: ${{ secrets.GITHUB_TOKEN }} # required if you use the pushToBranch option
```

## Credit

Inspired by @alexthemasters [action-build-typescript](https://github.com/alexthemaster/action-build-typescript)
20 changes: 20 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Adonis Build Action'
description: 'Build Adonis Projects'
author: 'Max Diamond'
branding:
color: 'purple'
icon: 'loader'
inputs:
pushToBranch:
description: 'Whether or not to push the compiled code to a different branch'
required: false
branch:
description: 'The name of the branch the action should push the compiled code'
required: false
default: 'dist'
githubToken:
description: 'Your GitHub secret token'
required: false
runs:
using: 'node16'
main: src/index.js
12 changes: 12 additions & 0 deletions node_modules/.bin/uuid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions node_modules/.bin/uuid.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions node_modules/.bin/uuid.ps1

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions node_modules/.modules.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aa9f417

Please sign in to comment.