Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christopherdavenport/create-ghpages-ifnotexists
https://github.com/christopherdavenport/create-ghpages-ifnotexists
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/christopherdavenport/create-ghpages-ifnotexists
- Owner: ChristopherDavenport
- License: mit
- Created: 2021-03-19T17:27:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-19T18:31:54.000Z (over 3 years ago)
- Last Synced: 2024-09-17T00:28:37.452Z (about 2 months ago)
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Create gh-pages Branch if not exists
A github action which can be in a template or component job that automates creation
of gh-pages branch if it does not already exist. After it exists, it does nothing.## Usage:
In your GitHub Actions workflow, add a `uses:` declaration before calling the
`sbt` command. checkout@v2 or greater is required to push changes.```diff
+++ .github/workflows/ci.yml
name: CI
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
+ - uses: christopherdavenport/create-ghpages-ifnotexists@v1
```