Skip to content

Commit

Permalink
feat: add basic web build action
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Apr 2, 2019
1 parent 9105177 commit 3d4bdb6
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build-web/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM bycedric/ci-expo:2

LABEL com.github.actions.name="Build web"
LABEL com.github.actions.description="Create a bundle for web deployments from your GitHub Actions workflow."
LABEL com.github.actions.icon="package"
LABEL com.github.actions.color="gray-dark"

ENTRYPOINT ["/entrypoint.sh", "build:web"]
21 changes: 21 additions & 0 deletions build-web/LICENSE.md.copying.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# The MIT License (MIT)

Copyright (c) 2018 Cedric van Putten <[email protected]>

> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.
28 changes: 28 additions & 0 deletions build-web/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Expo Build Web for GitHub Actions

Create a new app web bundle from your GitHub workflow.
Optionally, you can configure the properties of this bunle.

> Authentication is not required for this step.
## Usage

Below you can see an example of a build web action.

> Just like the [publish](../publish) action, you can customize the web bundle.
```hcl
action "Build web bundle" {
uses = "bycedric/ci-expo/build-web@master"
}
```

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

--- ---

<p align="center">
with :heart: <a href="https://bycedric.com" target="_blank">byCedric</a>
</p>

0 comments on commit 3d4bdb6

Please sign in to comment.