Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to GitHub Actions #1643

Merged
merged 2 commits into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on: [push, pull_request]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.5'
bundler-cache: true
- name: Get manageiq.org repo
run: git clone https://github.com/ManageIQ/manageiq.org
- name: Build
run: |
cd manageiq.org
bundle install
exe/miq build all
- name: Regex Match Commit Message on Push
uses: actions-ecosystem/action-regex-match@v2
if: ${{ github.event_name == 'push' && github.repository_owner == 'ManageIQ' }}
id: regex-commit-message
with:
text: ${{ github.event.head_commit.message }}
regex: 'Merge pull request #(\d+)'
- name: Notify manageiq.github.io on Push
if: ${{ github.event_name == 'push' && github.repository_owner == 'ManageIQ' }}
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DEPLOY_TOKEN }}
repository: ManageIQ/manageiq.github.io
event-type: deploy
client-payload: |
{ "repository": "${{ github.repository }}",
"pr_number": "${{ steps.regex-commit-message.outputs.group1 }}",
"ref_name": "${{ github.ref_name }}",
"sha": "${{ github.sha }}" }
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ManageIQ Documentation

[![Build Status](https://travis-ci.org/ManageIQ/manageiq-documentation.svg?branch=master)](https://travis-ci.com/github/ManageIQ/manageiq_docs)
[![CI](https://github.com/ManageIQ/manageiq-documentation/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/manageiq-documentation/actions/workflows/ci.yaml)
[![Join the chat at https://gitter.im/ManageIQ/manageiq_docs](https://badges.gitter.im/ManageIQ/manageiq_docs.svg)](https://gitter.im/ManageIQ/manageiq_docs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

This documentation site is a [Jekyll](https://github.com/jekyll/jekyll) based site for the ManageIQ documentation.
Expand Down