Skip to content

Commit

Permalink
use peaceiris
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi-kumar-pilla committed Mar 4, 2024
1 parent 5f0b148 commit 38d325a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ jobs:
- name: Fetch the repository
uses: actions/checkout@v4
- name: Deploy Kedro-Viz to GH Pages
uses: ./
uses: ./
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ author: Ravi Kumar Pilla
branding:
icon: share
color: yellow

inputs:
github_token:
description: 'Set a generated GITHUB_TOKEN for pushing to the remote branch.'
required: true

runs:
using: "composite"
steps:
Expand All @@ -26,6 +32,7 @@ runs:
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ inputs.github_token }}
publish_dir: ./temp_build
force_orphan: true
full_commit_message: ${{ github.event.head_commit.message }}
Expand Down

0 comments on commit 38d325a

Please sign in to comment.