Skip to content

Commit d1097d8

Browse files
committed
fix yaml error
1 parent b02e26c commit d1097d8

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/global-team.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Get Global Team from Airtable
22

33
on:
44
schedule:
5-
- cron: "16 16 * * 0"
6-
workflow_dispatch:
5+
- cron: "16 16 * * 0"
6+
workflow_dispatch:
77

88
concurrency:
99
group: ${{ github.workflow }}-${{ github.ref }}
@@ -12,7 +12,7 @@ concurrency:
1212
env:
1313
RENV_PROFILE: "airtable"
1414
RENV_CONFIG_SANDBOX_ENABLED: FALSE
15-
15+
1616
jobs:
1717
airtable:
1818
name: Retrieve Airtable data
@@ -27,15 +27,15 @@ jobs:
2727
run: |
2828
sudo apt-get update
2929
sudo apt-get install libcurl4-openssl-dev
30-
30+
3131
- name: Setup R
3232
uses: r-lib/actions/setup-r@v2
3333
with:
34-
r-version: 'renv'
34+
r-version: "renv"
3535

3636
- name: Setup Renv
3737
uses: r-lib/actions/setup-renv@v2
38-
38+
3939
- name: Get Airtable data and write to file
4040
env:
4141
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}
@@ -52,11 +52,11 @@ jobs:
5252
run: |
5353
git add content/about-us/global-team/img
5454
git add data/global_team
55-
git commit -m "Automated update: Update Global Team" || echo "No new data to commit"
55+
git commit -m "Automated update: Update Global Team" || echo "No new data to commit"
5656
5757
- name: Pushing to the protected branch 'main'
5858
if: github.ref_name == 'main'
5959
uses: CasperWA/push-protected@v2
6060
with:
61-
token: ${{ secrets.push-to-protected }} branch: main
62-
61+
token: ${{ secrets.push-to-protected }}
62+
branch: main

0 commit comments

Comments
 (0)