Write .env from Gitea secrets in deploy workflow
All checks were successful
Deploy / deploy (push) Successful in 11s
All checks were successful
Deploy / deploy (push) Successful in 11s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Write .env
|
||||||
|
run: |
|
||||||
|
cat > .env << EOF
|
||||||
|
OUTLINE_URL=http://172.29.0.7:3000
|
||||||
|
OUTLINE_TOKEN=${{ secrets.OUTLINE_TOKEN }}
|
||||||
|
TS_AUTHKEY=${{ secrets.TS_AUTHKEY }}
|
||||||
|
EOF
|
||||||
|
|
||||||
- name: Deploy with docker compose
|
- name: Deploy with docker compose
|
||||||
run: |
|
run: |
|
||||||
echo "=== Deploying commit ${{ gitea.sha }} to ${{ gitea.ref_name }} ==="
|
echo "=== Deploying commit ${{ gitea.sha }} to ${{ gitea.ref_name }} ==="
|
||||||
|
|||||||
Reference in New Issue
Block a user