File tree Expand file tree Collapse file tree 2 files changed +17
-11
lines changed
Expand file tree Collapse file tree 2 files changed +17
-11
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,16 @@ jobs:
2020 token : ${{ secrets.GITHUB_TOKEN }}
2121 fetch-depth : 1
2222 - name : Set spreadsheet_uri as environment variable
23- run : echo "spreadsheet_uri=https://docs.google.com/spreadsheets/d/e/2PACX-1vQwzrUSKfuSRcpkp7sJTw1cSB63s4HCjYLJeGPWECsvqn222hjaaONQlN4X8auKvlaB0es3BqV5rQyz/pub?gid=64355745&single=true&output=csv" >> $GITHUB_ENV
24- if : inputs.spreadsheet_uri != ''
25- echo "spreadsheet_uri=${{ inputs.spreadsheet_uri }}" >> $GITHUB_ENV
23+ run : |
24+ if [ -n "${{ inputs.spreadsheet_uri }}" ]; then
25+ echo "spreadsheet_uri=${{ inputs.spreadsheet_uri }}" >> $GITHUB_ENV
26+ else
27+ echo "spreadsheet_uri=https://docs.google.com/spreadsheets/d/e/2PACX-1vQwzrUSKfuSRcpkp7sJTw1cSB63s4HCjYLJeGPWECsvqn222hjaaONQlN4X8auKvlaB0es3BqV5rQyz/pub?gid=64355745&single=true&output=csv" >> $GITHUB_ENV
28+ fi
2629
2730 - name : Dump keys from the spreadsheet
2831 run : |
29- curl -L $spreadsheet_uri -o "./keys.csv";
32+ curl -L " $spreadsheet_uri" -o "./keys.csv";
3033 - name : Create permissions folder
3134 run : |
3235 [ ! -d "./static/data/csv" ] && mkdir -p "./static/data/csv";
3942 commit_options : " --signoff"
4043 commit_user_name : l5io
4144 commit_user_email :
[email protected] 42- commit_author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>author of the commit that triggered the run
45+ commit_author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
Original file line number Diff line number Diff line change @@ -15,18 +15,21 @@ jobs:
1515 runs-on : ubuntu-24.04
1616 steps :
1717 - name : Check out code
18- uses : actions/checkout@v6
18+ uses : actions/checkout@v4
1919 with :
2020 token : ${{ secrets.GITHUB_TOKEN }}
2121 fetch-depth : 1
2222 - name : Set spreadsheet_uri as environment variable
23- run : echo "spreadsheet_uri=https://docs.google.com/spreadsheets/d/1Ck_5q7U_vLSIDTtplugG3pCVC5zugXgTHtO7T7-yL8g/pub?output=csv" >> $GITHUB_ENV
24- if : inputs.spreadsheet_uri != ''
25- echo "spreadsheet_uri=${{ inputs.spreadsheet_uri }}" >> $GITHUB_ENV
23+ run : |
24+ if [ -n "${{ inputs.spreadsheet_uri }}" ]; then
25+ echo "spreadsheet_uri=${{ inputs.spreadsheet_uri }}" >> $GITHUB_ENV
26+ else
27+ echo "spreadsheet_uri=https://docs.google.com/spreadsheets/d/1Ck_5q7U_vLSIDTtplugG3pCVC5zugXgTHtO7T7-yL8g/pub?output=csv" >> $GITHUB_ENV
28+ fi
2629
2730 - name : Dump pricing list from the spreadsheet
2831 run : |
29- curl -L $spreadsheet_uri -o "./pricing-list.csv";
32+ curl -L " $spreadsheet_uri" -o "./pricing-list.csv";
3033 - name : Create data folder
3134 run : |
3235 [ ! -d "./static/data/csv" ] && mkdir -p "./static/data/csv";
3942 commit_options : " --signoff"
4043 commit_user_name : l5io
4144 commit_user_email :
[email protected] 42- commit_author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>author of the commit that triggered the run
45+ commit_author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
You can’t perform that action at this time.
0 commit comments