-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
144 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
persist-credentials: false | ||
|
||
- name: Fetch Data 📦 | ||
uses: JamesIves/fetch-api-data-action@releases/v2 | ||
uses: JamesIves/fetch-api-data-action@v2 | ||
with: | ||
endpoint: https://jsonplaceholder.typicode.com/todos/1 | ||
save-location: fetch-api-data-custom | ||
|
@@ -37,3 +37,29 @@ jobs: | |
folder: fetch-api-data-custom | ||
target-folder: data | ||
ssh-key: ${{ secrets.DEPLOY_KEY }} | ||
|
||
refresh-api-data-modified-formatting-encoding: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Fetch Data 📦 | ||
uses: JamesIves/fetch-api-data-action@v2 | ||
with: | ||
endpoint: https://jsonplaceholder.typicode.com/todos/1 | ||
save-location: fetch-api-data-custom-encoding | ||
save-name: todo2 | ||
encoding: hex | ||
format: txt | ||
retry: true | ||
|
||
- name: Build and Deploy Repo 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: fetch-api-data-custom-encoding | ||
target-folder: encoding | ||
ssh-key: ${{ secrets.DEPLOY_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Generate Sponsors 💖 | ||
uses: JamesIves/github-sponsors-readme-action@1.0.7 | ||
uses: JamesIves/github-sponsors-readme-action@v1.0.8 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
file: 'README.md' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "@jamesives/fetch-api-data-action", | ||
"description": "GitHub action for handling authenticated API requests, allowing you to save the data from the request into your workspace as an environment variable and a .json file.", | ||
"author": "James Ives <[email protected]> (https://jamesiv.es)", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"license": "MIT", | ||
"main": "lib/lib.js", | ||
"types": "lib/lib.d.ts", | ||
|
@@ -44,15 +44,15 @@ | |
"@types/jest": "27.4.0", | ||
"@types/mustache": "4.1.2", | ||
"@types/node": "17.0.8", | ||
"@typescript-eslint/eslint-plugin": "5.9.0", | ||
"@typescript-eslint/parser": "5.9.0", | ||
"@typescript-eslint/eslint-plugin": "5.9.1", | ||
"@typescript-eslint/parser": "5.9.1", | ||
"eslint": "8.6.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-plugin-jest": "25.3.4", | ||
"eslint-plugin-prettier": "4.0.0", | ||
"jest": "27.4.7", | ||
"jest-circus": "27.4.6", | ||
"nock": "13.2.1", | ||
"nock": "13.2.2", | ||
"prettier": "2.5.1", | ||
"ts-jest": "27.1.2", | ||
"typescript": "4.5.4" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.