Skip to content

Update Makefile.common.mk from root-template-tester:6e37c59. #28

Update Makefile.common.mk from root-template-tester:6e37c59.

Update Makefile.common.mk from root-template-tester:6e37c59. #28

Workflow file for this run

---
name: CI/CD
on:
push:
workflow_dispatch:
repository_dispatch:
types: [trigger]
jobs:
lint:
uses: jmpa-io/depot/.github/workflows/lint.yml@main
secrets:
github-token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
deploy:
uses: jmpa-io/depot/.github/workflows/deploy.yml@main

Check failure on line 16 in .github/workflows/cicd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cicd.yml

Invalid workflow file

error parsing called workflow ".github/workflows/cicd.yml" -> "jmpa-io/depot/.github/workflows/deploy.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
templates: 00-website
secrets:
github-token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET }}
build-website:
runs-on: ubuntu-20.04
steps:
- name: Checkout.
uses: actions/checkout@v2
with:
submodules: true
- name: Compile website.
run: bin/compile.sh
- name : Generate PDFs.
run: echo bin/generate-pdfs.sh
- name: Upload artifact.
uses: actions/upload-artifact@v3
with:
name: website
path: public/*
if-no-files-found: error
retention-days: 7
upload-website:
needs: [deploy, build-website]
uses: jmpa-io/depot/.github/workflows/upload-website.yml@main
with:
artifact: website
secrets:
github-token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET }}
post-to-slack:
needs: [lint, upload-website]
if: always()
uses: jmpa-io/depot/.github/workflows/post-to-slack.yml@main
secrets:
github-token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
slack-webhook: ${{ secrets.SLACK_GITHUB_WEBHOOK_URL }}