Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
Readme changes (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
South-Paw authored Mar 4, 2020
1 parent 77255cf commit 83902cf
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ See the [action.yml](./action.yml) for other action inputs and their description

## Usage

Here are some example usages of this action in CI workflows
Here are some ideas of how to configure this action in different workflows...

* [Deploying drafts on each commit and publishing on push to master](https://github.com/South-Paw/action-netlify-deploy#deploying-drafts-on-each-commit-and-publishing-on-push-to-master)
* [Deploying drafts of pull requests and publishing on push to master](https://github.com/South-Paw/action-netlify-deploy#deploying-drafts-of-pull-requests-and-publishing-on-push-to-master)
* [Deploying drafts of pull requests and publish on release created](https://github.com/South-Paw/action-netlify-deploy#deploying-drafts-of-pull-requests-and-publish-on-release-created)

### Deploying drafts on each commit and publishing on push to master

Expand Down Expand Up @@ -90,6 +94,7 @@ jobs:
name: CI

on:
push:
pull_request:
types:
- opened
Expand Down Expand Up @@ -145,7 +150,7 @@ jobs:
comment-on-commit: true
```
### Deploy drafts of pull requests and publish on release created
### Deploying drafts of pull requests and publish on release created
```yaml
name: CI
Expand All @@ -155,6 +160,9 @@ on:
types:
- opened
- synchronize
release:
types:
- created

jobs:

Expand Down

1 comment on commit 83902cf

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Netlify published action-netlify-deploy to production.
Deployed to: https://action-netlify-deploy.netlify.com

Please sign in to comment.