Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5068844

Browse files
committed
chore: add tokens docs
1 parentabf14d9 commit5068844

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

‎.github/workflows/dogfood.yaml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
workflow_dispatch:
1313

1414
jobs:
15-
deploy:
15+
deploy_image:
1616
runs-on:ubuntu-latest
1717
steps:
1818
-name:Get branch name
@@ -47,3 +47,27 @@ jobs:
4747
tags:"codercom/oss-dogfood:${{ steps.docker-tag-name.outputs.tag }},codercom/oss-dogfood:latest"
4848
cache-from:type=registry,ref=codercom/oss-dogfood:latest
4949
cache-to:type=inline
50+
deploy_template:
51+
runs-on:ubuntu-latest
52+
steps:
53+
-name:Checkout
54+
uses:actions/checkout@v3
55+
-name:Get short commit SHA
56+
id:vars
57+
run:echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
58+
-name:"Install latest Coder"
59+
run:|
60+
curl -L https://coder.com/install.sh | sh
61+
# env:
62+
# VERSION: 0.x
63+
-name:"Push template"
64+
run:|
65+
coder templates push $CODER_TEMPLATE_NAME --directory $CODER_TEMPLATE_DIR --yes --name=$CODER_TEMPLATE_VERSION
66+
env:
67+
# Consumed by Coder CLI
68+
CODER_URL:${{ secrets.CODER_URL }}
69+
CODER_SESSION_TOKEN:${{ secrets.CODER_TOKEN }}
70+
# Template source & details
71+
CODER_TEMPLATE_NAME:${{ secrets.CODER_TEMPLATE_NAME }}
72+
CODER_TEMPLATE_VERSION:${{ steps.vars.outputs.sha_short }}
73+
CODER_TEMPLATE_DIR:./dogfood

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp