Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
80120fd7
Commit
80120fd7
authored
Feb 18, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gitlab-ci
parent
7b6f0bc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
No files found.
.gitlab-ci.yml
View file @
80120fd7
...
@@ -10,10 +10,10 @@ before_script:
...
@@ -10,10 +10,10 @@ before_script:
-
eval $(ssh-agent -s)
-
eval $(ssh-agent -s)
# - chmod 400 "$NEOS_SSH_PRIVATE_KEY"
-
ssh-add <(echo "$NEOS_SSH_PRIVATE_KEY" | base64 -d)
-
ssh-add <(echo "$NEOS_SSH_PRIVATE_KEY" | base64 -d)
-
mkdir -p ~/.ssh
-
mkdir -p ~/.ssh
-
echo "$NEOS_SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
-
chmod 700 ~/.ssh
-
chmod 700 ~/.ssh
npm_ci
:
npm_ci
:
...
@@ -52,6 +52,6 @@ deploy:
...
@@ -52,6 +52,6 @@ deploy:
extends
:
npm_build
extends
:
npm_build
script
:
script
:
-
sudo apt-get install rsync
-
sudo apt-get install rsync
-
rsync -av -e 'ssh -p
-i $NEOS_SSH_PRIVATE_KEY
' dist/ 'kirayamato@8.142.104.5:${NEOS_DEPLOY_PATH}'
-
rsync -av -e 'ssh -p
22 -i ~/.ssh/id_ed25519
' dist/ 'kirayamato@8.142.104.5:${NEOS_DEPLOY_PATH}'
-
rsync -av -e 'ssh -p
-i $NEOS_SSH_PRIVATE_KEY
' assets/ 'kirayamato@8.142.104.5:${NEOS_DEPLOY_PATH}/assets'
-
rsync -av -e 'ssh -p
22 -i ~/.ssh/id_ed25519
' assets/ 'kirayamato@8.142.104.5:${NEOS_DEPLOY_PATH}/assets'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment