Skip to content

join channels

join channels #198

Workflow file for this run

name: CI
on:
push:
branches:
- main
repository_dispatch:
types: [stages-updates]
jobs:
activate:
runs-on: self-ubuntu-22.04
if: |
github.repository == 'master-csmi/csmi' &&
!startsWith(github.event.head_commit.message, 'Release ') &&
!contains(github.event.head_commit.message, 'ci skip')
steps:
- run: echo ok go
docs:
if: "!contains(github.event.head_commit.message, 'doc skip')"
needs: activate
runs-on: self-ubuntu-22.04
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm install
- name: Install credentials
run: echo https://$GITHUB_OAUTH:@github.com > $HOME/.git-credentials
env:
GITHUB_OAUTH: ${{ secrets.CR_PAT }}
- name: Build
run: npm run antora
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: public # The folder the action should deploy.