|
14 | 14 | runs-on: ubuntu-latest |
15 | 15 | steps: |
16 | 16 | - name: Checkout 🛎️ |
17 | | - uses: actions/checkout@v4 |
| 17 | + uses: actions/checkout@v6.0.1 |
18 | 18 | with: |
19 | 19 | persist-credentials: false |
20 | 20 |
|
|
42 | 42 | folder: fetch-api-data-custom |
43 | 43 | target-folder: data |
44 | 44 | ssh-key: ${{ secrets.DEPLOY_KEY }} |
45 | | - |
46 | | - refresh-api-data-modified-formatting-encoding: |
47 | | - runs-on: ubuntu-latest |
48 | | - needs: refresh-api-data |
49 | | - steps: |
50 | | - - name: Checkout 🛎️ |
51 | | - uses: actions/checkout@v4 |
52 | | - with: |
53 | | - persist-credentials: false |
54 | | - |
55 | | - - name: Fetch Hex encoded Data 📦 |
56 | | - uses: JamesIves/fetch-api-data-action@v2 |
57 | | - with: |
58 | | - endpoint: https://hexendpoint-y87ci26b7sb3.runkit.sh/ |
59 | | - save-location: fetch-api-data-custom-encoding |
60 | | - save-name: hexendpointdata |
61 | | - encoding: hex |
62 | | - format: txt |
63 | | - retry: true |
64 | | - |
65 | | - - name: Fetch Base64 Data 📦 |
66 | | - id: validate |
67 | | - uses: JamesIves/fetch-api-data-action@v2 |
68 | | - with: |
69 | | - endpoint: https://base64endpoint-hfdurtfq9iyz.runkit.sh/ |
70 | | - save-location: fetch-api-data-custom-encoding |
71 | | - save-name: base64endpointdata |
72 | | - encoding: base64 |
73 | | - format: txt |
74 | | - variable-name: CATS |
75 | | - retry: true |
76 | | - |
77 | | - - name: Access environment variable output |
78 | | - run: | |
79 | | - echo "${CATS}" |
80 | | -
|
81 | | - - name: Access step output |
82 | | - run: | |
83 | | - echo "Output: ${{ steps.validate.outputs.fetchApiData }}" |
84 | | -
|
85 | | - - name: Build and Deploy Repo 🚀 |
86 | | - uses: JamesIves/github-pages-deploy-action@v4 |
87 | | - with: |
88 | | - branch: gh-pages |
89 | | - folder: fetch-api-data-custom-encoding |
90 | | - target-folder: encoding |
91 | | - ssh-key: ${{ secrets.DEPLOY_KEY }} |
0 commit comments