readme: minor changes

This commit is contained in:
CrazyMax 2023-09-10 13:19:34 +02:00
parent 4f01c365fb
commit 9dca5612a0
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -28,8 +28,8 @@ ___
Below is a simple snippet to deploy to GitHub Pages with a dummy HTML page. Below is a simple snippet to deploy to GitHub Pages with a dummy HTML page.
A [workflow](https://github.com/crazy-max/ghaction-github-pages/actions?query=workflow%3Aci) is also available for A [workflow](https://github.com/crazy-max/ghaction-github-pages/actions?query=workflow%3Aci)
this repository and deploys [every day to GitHub Pages](https://crazy-max.github.io/ghaction-github-pages/). is also available for this repository and deploys [every day to GitHub Pages](https://crazy-max.github.io/ghaction-github-pages/).
```yaml ```yaml
name: website name: website
@ -63,7 +63,6 @@ jobs:
EOL EOL
- -
name: Deploy to GitHub Pages name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v4 uses: crazy-max/ghaction-github-pages@v4
with: with:
target_branch: gh-pages target_branch: gh-pages
@ -74,8 +73,8 @@ jobs:
### Sign commits ### Sign commits
You can use the [Import GPG](https://github.com/crazy-max/ghaction-import-gpg) GitHub Action along with this one to You can use the [Import GPG](https://github.com/crazy-max/ghaction-import-gpg)
sign commits: action along with this one to sign commits:
```yaml ```yaml
- -
@ -88,7 +87,6 @@ sign commits:
git_commit_gpgsign: true git_commit_gpgsign: true
- -
name: Deploy to GitHub Pages name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v4 uses: crazy-max/ghaction-github-pages@v4
with: with:
target_branch: gh-pages target_branch: gh-pages
@ -99,8 +97,9 @@ sign commits:
### Check availability of GitHub Pages ### Check availability of GitHub Pages
You can use the [GitHub Status](https://github.com/crazy-max/ghaction-github-status) Action along with this one to You can use the [GitHub Status](https://github.com/crazy-max/ghaction-github-status)
check availability of GitHub Pages before deploying: action along with this one to check the availability of GitHub Pages before
deploying:
```yaml ```yaml
- -
@ -110,7 +109,6 @@ check availability of GitHub Pages before deploying:
pages_threshold: major_outage pages_threshold: major_outage
- -
name: Deploy to GitHub Pages name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v4 uses: crazy-max/ghaction-github-pages@v4
with: with:
target_branch: gh-pages target_branch: gh-pages