Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Commit

Permalink
ci: rebuild tip.cuelang.org on master commits
Browse files Browse the repository at this point in the history
When a new commit is submitted to master we need to trigger a rebuild of
tip.cuelang.org in order than the @master docs are updated as required.

Do that via a simple GitHub action.

Change-Id: I9d1b404756358f357c7906a4f38897c6337b4f32
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/5300
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
  • Loading branch information
myitcv authored and mpvl committed Mar 16, 2020
1 parent f89aa48 commit 52cc7f1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/rebuild_tip_cuelang_org.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
on:
push:
branches:
- master

name: Push to tip
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Rebuild tip.cuelang.org
run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.CuelangOrgTipRebuildHook }}

0 comments on commit 52cc7f1

Please sign in to comment.