File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,22 @@ jobs:
43
43
commitish : ${{ steps.commit.outputs.commitish }}
44
44
env :
45
45
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
- - name : Publish
46
+ - name : Publish Dummy Archive
47
47
run : |
48
48
echo "//registry.visualpinball.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
49
+ npm pack
50
+ echo "NPM_ARCHIVE=$(ls org.visualpinball.unity.assetlibrary*.tgz)" >> $GITHUB_ENV
51
+ echo Assets/** >> .gitignore
49
52
npm publish
50
53
env :
51
- NODE_OPTIONS : " --max_old_space_size=4096"
52
54
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
55
+ - name : Upload Real Archive
56
+ uses : appleboy/scp-action@master
57
+ with :
58
+ host : registry.visualpinball.org
59
+ port : 22
60
+ username : ${{ secrets.REGISTRY_SSH_USERNAME }}
61
+ key : ${{ secrets.REGISTRY_SSH_KEY }}
62
+ source : ${{ env.NPM_ARCHIVE }}
63
+ target : ${{ secrets.REGISTRY_SSH_PATH }}
64
+
You can’t perform that action at this time.
0 commit comments