Closed3

github actions で now に deploy

Run amondnet/now-deployment@v2
  with:
    zeit-token: ***
    now-args: --prod
    now-org-id: ***
    now-project-id: ***
    working-directory: ./app/public
    github-comment: true
    github-deployment: false
set environment for now cli 17+
set env variable : NOW_ORG_ID
Error: Unable to process command '::set-env name=NOW_ORG_ID::***' successfully.
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
set env variable : NOW_PROJECT_ID
Error: Unable to process command '::set-env name=NOW_PROJECT_ID::***' successfully.
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

working-directorynow の設定置いてるところにするっていうの忘れてた

SSG なのに vercel に上げる必要もないわー
と思って github-pages に向き先を変える

このスクラップは2020/12/28にクローズされました
ログインするとコメントできます