Skip to content

Commit 9998bac

Browse files
committed
renamed push to publish
1 parent ad8ca41 commit 9998bac

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ You can obtain a permanent RedGuides API key by asking me (Redbot) on the site,
2727

2828
## Example workflow
2929
```yaml
30-
name: Push to RedGuides
30+
name: Publish to RedGuides
3131

3232
on:
3333
push:
3434
branches: [ "main" ]
3535

3636
jobs:
37-
redfetch-push:
37+
redfetch-publish:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Checkout Code
@@ -43,7 +43,7 @@ jobs:
4343
- name: Build Zip File
4444
run: zip -r release.zip src/
4545

46-
- name: Push to RedGuides
46+
- name: Publish to RedGuides
4747
uses: RedGuides/redguides-publish@v1
4848
env:
4949
REDGUIDES_API_KEY: ${{ secrets.REDGUIDES_API_KEY }}
@@ -59,4 +59,4 @@ jobs:
5959
## Notes
6060
- **resource_id**: the numbers at the end of your resource URL. e.g. `https://www.redguides.com/community/resources/inzone.3174/` -> `3174`
6161
- **REDGUIDES_API_KEY**: Make sure to add your API key to your repository secrets under `REDGUIDES_API_KEY`.
62-
- This action is a wrapper around [md2bbcode](https://github.com/RedGuides/md2bbcode) and [redfetch](https://github.com/RedGuides/redfetch). I can pare it down considerably if you'd like, just ask.
62+
- This action is a wrapper around [md2bbcode](https://github.com/RedGuides/md2bbcode) and [redfetch](https://github.com/RedGuides/redfetch).

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FILE="$5"
1111
DOMAIN="$6"
1212

1313
# Build the redfetch command
14-
CMD="redfetch push \"$RESOURCE_ID\""
14+
CMD="redfetch publish \"$RESOURCE_ID\""
1515

1616
if [ -n "$DESCRIPTION" ]; then
1717
CMD="$CMD --description \"$DESCRIPTION\""

0 commit comments

Comments
 (0)