Skip to content

Commit

Permalink
Update actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
semeniak97mf committed Jul 26, 2024
1 parent 4d6c5a2 commit b409f36
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
scp chainspecs/chain-spec.devnet.json ${{ secrets.DEVNET_USERNAME }}@${{ secrets.DEVNET_HOST }}:/sportchain/chainspec.json
- name: SSH into Server and Deploy
uses: appleboy/ssh-action@v1.0.0
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.DEVNET_HOST }}
username: ${{ secrets.DEVNET_USERNAME }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
scp chainspecs/chain-spec.testnet.json ${{ secrets.BOOTNODE_USER }}@${{ secrets.BOOTNODE_HOST }}:~/atleta/chainspec.json
- name: Run bootnode
uses: appleboy/ssh-action@v1.0.0
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.BOOTNODE_HOST }}
username: ${{ secrets.BOOTNODE_USER }}
Expand All @@ -56,7 +56,7 @@ jobs:
environment: testnet

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
scp utils/backup_script/run_backup.sh ${{ secrets.TECHNICAL_USER }}@${{ secrets.TECHNICAL_HOST }}:/sportchain/run_backup.sh
- name: SSH into Server and Deploy
uses: appleboy/ssh-action@v1.0.0
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.TECHNICAL_HOST }}
username: ${{ secrets.TECHNICAL_USER }}
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
priv_key_key: VALIDATOR_16_PRIV_KEY

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
- name: Run the validator
uses: appleboy/ssh-action@v1.0.0
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets[matrix.host_key] }}
username: ${{ secrets[matrix.user_key] }}
Expand All @@ -247,7 +247,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/revert-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# environment: testnet
#
# steps:
# - uses: actions/checkout@v3
# - uses: actions/checkout@v4
# with:
# submodules: "recursive"
#
Expand All @@ -40,7 +40,7 @@ jobs:
# scp chainspecs/chain-spec.testnet.json ${{ secrets.TECHNICAL_USER }}@${{ secrets.TECHNICAL_HOST }}:/sportchain/chainspec.json
#
# - name: SSH into Server and Deploy
# uses: appleboy/ssh-action@v1.0.0
# uses: appleboy/ssh-action@v1.0.3
# with:
# host: ${{ secrets.TECHNICAL_HOST }}
# username: ${{ secrets.TECHNICAL_USER }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
priv_key_key: VALIDATOR_16_PRIV_KEY

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

Expand All @@ -140,7 +140,7 @@ jobs:
ssh-add ~/.ssh/id_rsa
- name: Down
uses: appleboy/ssh-action@v1.0.0
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets[matrix.host_key] }}
username: ${{ secrets[matrix.user_key] }}
Expand All @@ -154,7 +154,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

Expand All @@ -168,7 +168,7 @@ jobs:
eval $(ssh-agent)
- name: Stop
uses: appleboy/ssh-action@v1.0.0
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.BOOTNODE_HOST }}
username: ${{ secrets.BOOTNODE_USER }}
Expand All @@ -188,7 +188,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
scp testnet/revert.sh ${{secrets[matrix.user_key]}}@${{secrets[matrix.host_key]}}:~/atleta/revert.sh
- name: Revert
uses: appleboy/ssh-action@v1.0.0
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.BOOTNODE_HOST }}
username: ${{ secrets.BOOTNODE_USER }}
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:
priv_key_key: VALIDATOR_16_PRIV_KEY

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: "recursive"

Expand Down Expand Up @@ -334,7 +334,7 @@ jobs:
scp chainspecs/chain-spec.testnet.json ${{secrets[matrix.user_key]}}@${{secrets[matrix.host_key]}}:/home/${{ secrets[matrix.user_key] }}/atleta/chainspec.json
- name: Revert
uses: appleboy/ssh-action@v1.0.0
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets[matrix.host_key] }}
username: ${{ secrets[matrix.user_key] }}
Expand Down

0 comments on commit b409f36

Please sign in to comment.