@stacksjs/defaults 0.72.93 → 0.72.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ide/vscode/package.json
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/defaults",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.72.
|
|
5
|
+
"version": "0.72.94",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@iconify-json/f7": "^1.2.2",
|
|
53
53
|
"@iconify-json/hugeicons": "^1.2.27",
|
|
54
|
-
"@stacksjs/mobile": "^0.72.
|
|
54
|
+
"@stacksjs/mobile": "^0.72.94",
|
|
55
55
|
"@stacksjs/sanitizer": "^0.2.113"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
@@ -86,6 +86,24 @@ jobs:
|
|
|
86
86
|
with:
|
|
87
87
|
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
|
|
88
88
|
|
|
89
|
+
# An agent is not enough on its own. ts-cloud reads the PUBLIC key off
|
|
90
|
+
# disk to register it on the server, and an agent holds keys in memory
|
|
91
|
+
# and exposes no path, so the deploy died on "SSH public key not found
|
|
92
|
+
# at ~/.ssh/id_ed25519.pub" with the agent perfectly loaded. The public
|
|
93
|
+
# half is derived from the private one rather than carried as a second
|
|
94
|
+
# secret, so the two can never disagree.
|
|
95
|
+
- name: Write the deploy key to disk
|
|
96
|
+
if: steps.check.outputs.configured == 'true'
|
|
97
|
+
env:
|
|
98
|
+
DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
|
99
|
+
run: |
|
|
100
|
+
mkdir -p ~/.ssh
|
|
101
|
+
chmod 700 ~/.ssh
|
|
102
|
+
printf '%s\n' "$DEPLOY_SSH_KEY" > ~/.ssh/id_ed25519
|
|
103
|
+
chmod 600 ~/.ssh/id_ed25519
|
|
104
|
+
ssh-keygen -y -f ~/.ssh/id_ed25519 > ~/.ssh/id_ed25519.pub
|
|
105
|
+
chmod 644 ~/.ssh/id_ed25519.pub
|
|
106
|
+
|
|
89
107
|
- name: Deploy
|
|
90
108
|
if: steps.check.outputs.configured == 'true'
|
|
91
109
|
run: ./buddy deploy --${{ github.event.inputs.environment == 'staging' && 'staging' || github.event.inputs.environment == 'development' && 'dev' || 'prod' }} --yes
|