deploy workflow: create secrets
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s

This commit is contained in:
2026-06-23 00:14:19 +03:00
parent 74b8769195
commit 9572e20a2c
+9 -2
View File
@@ -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"