Skip to content

Commit

Permalink
feat: Use inputs or secrets for manual rebuild and deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
luandro committed Sep 6, 2024
1 parent 7edd9b7 commit d8c427f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/manual-rebuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Build and Deploy
uses: ./.github/actions/build-and-deploy
with:
notion_api_key: ${{ inputs.notion_api_key }}
database_id: ${{ inputs.database_id }}
website_tag: ${{ inputs.website_tag }}
notion_api_key: ${{ inputs.notion_api_key || secrets.NOTION_API_KEY }}
database_id: ${{ inputs.database_id || secrets.DATABASE_ID }}
website_tag: ${{ inputs.website_tag || secrets.WEBSITE_TAG }}
base_url: /${{ github.event.repository.name }}

0 comments on commit d8c427f

Please sign in to comment.