Setup Coder
ActionsTags
(2)Verified
SetupCoder
Downloads and authenticates Coder's CLI with your Coder server. This action can be used to run authenticated Coder commands in GitHub Action workflows.
Create a GitHub secret namedCODER_SESSION_TOKEN
with your coder session tokenYou can generate a long lived session token by running the following command inyour browser console while logged into Coder with aTemplate Admin orOwner role.
coder token create --lifetime 8760h --name"GitHub Actions"
jobs:setup-coder:runs-on:ubuntu-lateststeps: -name:Setup Coderuses:coder/setup-action@v1with:access_url:'https://coder.example.com'coder_session_token:${{ secrets.CODER_SESSION_TOKEN }}
Name | Description | Default |
---|---|---|
access_url | Required The url of coder deployment (e.g.https://coder.example.com). | - |
coder_session_token | Required The session token of coder. | - |
Setup Coder is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.
Verified
Tags
(2)Setup Coder is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.