Skip to content

Commit

Permalink
fix(ci): fail workflow if site update fails
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed Aug 8, 2021
1 parent 6cd2407 commit d777624
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/holo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
# pull latest commit
curl -X POST \
--silent \
--fail \
-H "Authorization: Token ${VFS_DEV_TOKEN}" \
-H "Accept: application/json" \
"http://v2.slate.is/site-admin/sources/slate/pull?fetch=true" \
Expand All @@ -70,6 +71,7 @@ jobs:
# sync VFS to git
curl -X POST \
--silent \
--fail \
-H "Authorization: Token ${VFS_DEV_TOKEN}" \
-H "Accept: application/json" \
"http://v2.slate.is/site-admin/sources/slate/sync-to-vfs" \
Expand Down

0 comments on commit d777624

Please sign in to comment.