Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@b1a9id
Last active April 19, 2021 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b1a9id/0b39cb6e007e62d618be7f68743b9e45 to your computer and use it in GitHub Desktop.
Save b1a9id/0b39cb6e007e62d618be7f68743b9e45 to your computer and use it in GitHub Desktop.
action用プライベートレポジトリ
steps:
- name: Checkout actions
uses: actions/checkout@v2
with:
# Hoge/actionsレポジトリにnotify-slackという名前のディレクトリを切って独自アクションを準備
repository: Hoge/actions
# 外部のプライベートレポジトリをチェックアウトするときは個人トークンが必要
token: ${{ secrets.TOKEN }}
# 配置するパス
path: actions
- name: Notification
uses: ./actions/notify-slack
with:
message: "Test notificatin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment