Experiment/runner #2
@@ -7,6 +7,7 @@ jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "🏗️ Creating secrets..."
|
||||
- name: Execute Remote SSH Commands
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
with:
|
||||
@@ -15,5 +16,11 @@ jobs:
|
||||
password: ${{ secrets.SSH_PASSWORD }}
|
||||
port: 22
|
||||
script: |
|
||||
cd /home/vbevdev/test
|
||||
touch hello-there.txt
|
||||
cd ${{ secrets.DEPLOY_DIRECTORY }}
|
||||
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