Skip to content

Commit

Permalink
testing release tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
theguy951357 committed Apr 25, 2024
1 parent 3aac959 commit 56c7f0e
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/updatedemo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,27 @@ name: Update Demo Server

on:
release:
types: [published]
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 <<END
Host *.clustercat.com
User root
IdentityFile ~/.ssh/id_devops
StrictHostKeyChecking no
END
env:
SSH_KEY: ${{ secrets.TESTING_SSH_KEY }}
- name: test release tag
run: |
echo ${{ github.event.release.tag_name }}

0 comments on commit 56c7f0e

Please sign in to comment.