Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Workflow file for this run

# Copyright Jiaqi Liu

Check failure on line 1 in .github/workflows/ci-cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-cd.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: aergia-ci-cd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
name: Aergia CI/CD Definition
"on":
workflow_call:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
jobs:
lint-unit:
uses: sous-chefs/.github/.github/workflows/[email protected] # fallback: .github/lint-unit.yml
permissions:
actions: write
checks: write
pull-requests: write
statuses: write
markdown-link-check:
name: Markdown Link Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: "yes"
aergia-ci-cd:
documentation-ci-cd:
name: Test Documentation Build & Deploy Documentation to GitHub Pages
needs: [lint-unit, markdown-link-check, recipes-integration-tests]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs/
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: './docs/yarn.lock'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
user_name: QubitPi
user_email: [email protected]