Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
uses: docker/login-action@v2
with:
# TODO: Use Secrets when Public
username: zcunsoft
password: dckr_pat_2eAU1fw60YppPltWJ7-tVJXma9o
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
Expand All @@ -65,9 +65,9 @@ jobs:
uses: docker/login-action@v2
with:
# TODO: Use Secrets when Public
registry: registry.cn-shanghai.aliyuncs.com
username: clklog.githubci@zcunsoft
password: R7w!9F6zlqt2
registry: ${{ secrets.ALIYUN_REGISTRY }}
username: ${{ secrets.ALIYUN_REGISTRY_USERNAME }}
password: ${{ secrets.ALIYUN_REGISTRY_PASSWORD }}
- name: Push image to Aliyun Docker Registry
run: |
docker buildx imagetools create \
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy Test Environment

on:
workflow_dispatch:
workflow_run:
workflows:
- Node.js CI
types:
- completed

jobs:
deploy-test:
runs-on:
- self-hosted

steps:
- name: Deploy
run: |
echo "Runner: $RUNNER_NAME"
hostname
uname -a
whoami
Loading