From e534ff53ba1f369202cfca8d85feea336098c021 Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Mon, 23 Sep 2024 02:53:05 -0700 Subject: [PATCH] Update action to reflect reality This was from an earlier design choice, and I just forgot to remove some remaining traces of the old `gh-pages` stuff. --- README.md | 2 +- deploy/action.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ba65f1..5d7642b 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ It's a multi-step process. ```yml - uses: MithrilJS/infra/deploy@main with: - type: gh-pages + type: github-pages token: ${{ secrets.DEPLOY_TOKEN }} ``` To deploy a package not located in the repo root, set the `root_dir` option: diff --git a/deploy/action.yml b/deploy/action.yml index 6658509..b686325 100644 --- a/deploy/action.yml +++ b/deploy/action.yml @@ -2,7 +2,10 @@ name: Request a deployment inputs: type: - description: The type of deployment to perform. + description: | + The type of deployment to perform. Currently must be one of the following: + - `npm` + - `github-pages` required: true root_dir: description: The directory to the root. Defaults to `GITHUB_WORKSPACE`.