From 865bbdac187b80e4caf5feea9a42cc669a34fe5a Mon Sep 17 00:00:00 2001 From: ravi-kumar-pilla Date: Thu, 18 Apr 2024 20:20:27 -0500 Subject: [PATCH] test workflow add --- .github/workflows/my-workflow.yml | 38 +++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/my-workflow.yml diff --git a/.github/workflows/my-workflow.yml b/.github/workflows/my-workflow.yml new file mode 100644 index 0000000..66846d7 --- /dev/null +++ b/.github/workflows/my-workflow.yml @@ -0,0 +1,38 @@ +# This workflow is used to test the GitHub action publish-kedro-viz + +name: Test publish-kedro-viz + +permissions: + contents: write + pages: write + id-token: write + +on: + push: + branches: + - "*" + paths-ignore: + - "*.md" + pull_request: + branches: + - main + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Fetch the repository + uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Install Project Dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Deploy Kedro-Viz to GH Pages + uses: kedro-org/publish-kedro-viz@v1 + with: + publishing_source: 'workflow' \ No newline at end of file