From 3aac959c1ee269f2bab456e1459ede0fb9862a63 Mon Sep 17 00:00:00 2001 From: theguy951357 Date: Wed, 24 Apr 2024 22:49:03 -0400 Subject: [PATCH 1/4] start update demo env --- .github/workflows/updatedemo.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/workflows/updatedemo.yml diff --git a/.github/workflows/updatedemo.yml b/.github/workflows/updatedemo.yml new file mode 100644 index 00000000..45748035 --- /dev/null +++ b/.github/workflows/updatedemo.yml @@ -0,0 +1,5 @@ +name: Update Demo Server + +on: + release: + types: [published] \ No newline at end of file From 56c7f0e29dbe6e20cfc358d8a8a985057ccc655d Mon Sep 17 00:00:00 2001 From: theguy951357 Date: Thu, 25 Apr 2024 14:04:10 -0400 Subject: [PATCH 2/4] testing release tag name --- .github/workflows/updatedemo.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/.github/workflows/updatedemo.yml b/.github/workflows/updatedemo.yml index 45748035..95b5ade4 100644 --- a/.github/workflows/updatedemo.yml +++ b/.github/workflows/updatedemo.yml @@ -2,4 +2,27 @@ name: Update Demo Server on: release: - types: [published] \ No newline at end of file + types: [published] + workflow_call: + + +jobs: + update-demo-environment: + runs-on: ubuntu-latest + steps: + - name: setup ssh + run: | + mkdir -p ~/.ssh/ + echo "$SSH_KEY" > ~/.ssh/id_devops + chmod 600 ~/.ssh/id_devops + cat >>~/.ssh/config < Date: Thu, 25 Apr 2024 14:09:30 -0400 Subject: [PATCH 3/4] yaml fix --- .github/workflows/updatedemo.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/updatedemo.yml b/.github/workflows/updatedemo.yml index 95b5ade4..a87ee70d 100644 --- a/.github/workflows/updatedemo.yml +++ b/.github/workflows/updatedemo.yml @@ -7,6 +7,7 @@ on: jobs: + update-demo-environment: runs-on: ubuntu-latest steps: @@ -23,6 +24,6 @@ jobs: END env: SSH_KEY: ${{ secrets.TESTING_SSH_KEY }} - - name: test release tag - run: | - echo ${{ github.event.release.tag_name }} \ No newline at end of file + - name: test release tag + run: | + echo ${{ github.event.release.tag_name }} \ No newline at end of file From d068e024d7eb7026de92f41d172cfda22a1f5156 Mon Sep 17 00:00:00 2001 From: theguy951357 Date: Thu, 25 Apr 2024 14:13:42 -0400 Subject: [PATCH 4/4] thing --- .github/workflows/updatedemo.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/updatedemo.yml b/.github/workflows/updatedemo.yml index a87ee70d..e67630a4 100644 --- a/.github/workflows/updatedemo.yml +++ b/.github/workflows/updatedemo.yml @@ -8,6 +8,7 @@ on: jobs: + update-demo-environment: runs-on: ubuntu-latest steps: