feat: init service provider branch

This commit is contained in:
Aravinth Manivannan 2022-02-10 14:10:16 +05:30
parent ef424cf070
commit 28a7420180
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 12 additions and 4 deletions

View file

@ -13,7 +13,6 @@ jobs:
fail-fast: false
matrix:
version:
#- 1.51.0
- stable
# - nightly
@ -52,17 +51,22 @@ jobs:
- name: run tests
run: make test
- name: build and publish docker images
- name: build docker images
if: matrix.version == 'stable'
run: make docker
- name: publish docker images
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/pages'
run: make docker-publish
- name: generate documentation
if: matrix.version == 'stable' && (github.repository == 'realaravinth/pages')
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/pages'
run: make doc
env:
GIT_HASH: 8e77345f1597e40c2e266cb4e6dee74888918a61 # dummy value
- name: Deploy to GitHub Pages
if: matrix.version == 'stable' && (github.repository == 'realaravinth/pages')
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/pages'
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -4,6 +4,10 @@
**Auto-deploy static websites from git repositories**
`service-provider` branch contains changes and features that are more
suited for use by folks that host large number of websites like GitHub
Pages, etc.
</p>
[![Build](https://github.com/realaravinth/pages/actions/workflows/linux.yml/badge.svg)](https://github.com/realaravinth/pages/actions/workflows/linux.yml)