This commit is contained in:
@@ -7,6 +7,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- run: echo "🏗️ Creating secrets..."
|
||||||
- name: Execute Remote SSH Commands
|
- name: Execute Remote SSH Commands
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
@@ -15,5 +16,11 @@ jobs:
|
|||||||
password: ${{ secrets.SSH_PASSWORD }}
|
password: ${{ secrets.SSH_PASSWORD }}
|
||||||
port: 22
|
port: 22
|
||||||
script: |
|
script: |
|
||||||
cd /home/vbevdev/test
|
cd ${{ secrets.DEPLOY_DIRECTORY }}
|
||||||
touch hello-there.txt
|
mkdir secrets
|
||||||
|
cd secrets
|
||||||
|
echo "${{ secrets.BESZEL_AGENT_KEY }}" > beszel_agent_key.txt
|
||||||
|
echo "${{ secrets.BESZEL_AGENT_TOKEN }}" > beszel_agent_token.txt
|
||||||
|
echo "${{ secrets._GITEA_RUNNER_REGISTRATION_TOKEN }}" > gitea_runner_registration_token.txt
|
||||||
|
echo "${{ secrets.VAULTWARDEN_ADMIN_TOKEN }}" > vaultwarden_admin_token.txt
|
||||||
|
- run: echo "✅ Secrets created"
|
||||||
|
|||||||
Reference in New Issue
Block a user