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

Commit

Permalink
[ci] Convert GitHub Actions files to new format
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jugglinmike committed Aug 9, 2019
1 parent cc9dc6b commit 796262a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .github/main.workflow

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on: pull_request
name: Synchronize the Pull Request Preview
jobs:
update-pr-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: update-pr-preview
uses: ./tools/docker/github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
entrypoint: python
args: tools/ci/update_pr_preview.py https://api.github.com
14 changes: 14 additions & 0 deletions .github/workflows/push-build-publish-documentation-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on: push
name: Build & Publish Documentation Website
jobs:
website-build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: website-build-and-publish
uses: ./tools/docker/documentation
env:
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
with:
entrypoint: /bin/bash
args: tools/ci/website_build.sh
14 changes: 14 additions & 0 deletions .github/workflows/push-build-release-manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on: push
name: Build & Release Manifest
jobs:
manifest-build-and-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: manifest-build-and-tag
uses: ./tools/docker/github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
entrypoint: python
args: tools/ci/manifest_build.py

0 comments on commit 796262a

Please sign in to comment.