Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 796262a

Browse files
committed
[ci] Convert GitHub Actions files to new format
GitHub.com is changing the supported configuration file format for its "Actions" feature [1]. Update to the new format. This change set was produced using the tooling provided by GitHub.com [2]. [1] > The documentation at https://developer.github.com/actions and > support for the HCL syntax in GitHub Actions will be deprecated on > September 30, 2019. Documentation for the new limited public beta > using the YAML syntax is available on https://help.github.com. See > "Automating your workflow with GitHub Actions" for documentation > using the YAML syntax. https://developer.github.com/actions/ [2] https://github.com/actions/migrate
1 parent cc9dc6b commit 796262a

File tree

4 files changed

+42
-32
lines changed

4 files changed

+42
-32
lines changed

.github/main.workflow

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/pull_request.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on: pull_request
2+
name: Synchronize the Pull Request Preview
3+
jobs:
4+
update-pr-preview:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- name: update-pr-preview
9+
uses: ./tools/docker/github
10+
env:
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
with:
13+
entrypoint: python
14+
args: tools/ci/update_pr_preview.py https://api.github.com
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on: push
2+
name: Build & Publish Documentation Website
3+
jobs:
4+
website-build-and-publish:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- name: website-build-and-publish
9+
uses: ./tools/docker/documentation
10+
env:
11+
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
12+
with:
13+
entrypoint: /bin/bash
14+
args: tools/ci/website_build.sh
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on: push
2+
name: Build & Release Manifest
3+
jobs:
4+
manifest-build-and-tag:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- name: manifest-build-and-tag
9+
uses: ./tools/docker/github
10+
env:
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
with:
13+
entrypoint: python
14+
args: tools/ci/manifest_build.py

0 commit comments

Comments
 (0)