Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WP Plugins
View All Posts Pages
Commits
7d0137e5
Commit
7d0137e5
authored
Apr 13, 2019
by
Erick Hitter
Browse files
Loader script isn't needed
parent
44aba703
Pipeline
#764
passed with stages
in 2 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7d0137e5
...
...
@@ -51,7 +51,7 @@ PluginSVN:
before_script
:
-
apt-get update
-
apt-get install -y rsync
-
curl -o ./bin/deploy.sh https://git-cdn.e15r.co/open-source/wp-org-plugin-deploy/raw/master/scripts/deploy.sh
-
chmod +x ./bin/deploy.sh
script
:
./bin/deploy.sh
when
:
on_success
# only:
# - master
bin/deploy.sh
deleted
100755 → 0
View file @
44aba703
#!/usr/bin/env bash
# Note that this does not use pipefail
# because if the grep later doesn't match any deleted files,
# which is likely the majority case,
# it does not exit with a 0, and I only care about the final exit.
set
-eo
# Download shared script and execute.
# See https://git.ethitter.com/open-source/wp-org-plugin-deploy/blob/master/README.md
DEPLOY_SCRIPT_SRC
=
"https://git.ethitter.com/open-source/wp-org-plugin-deploy/raw/master/scripts/deploy.sh"
DEPLOY_SCRIPT_NAME
=
"deploy-wp-org.sh"
echo
"ℹ︎ Downloading script from
$DEPLOY_SCRIPT_SRC
"
curl
-o
"./
${
DEPLOY_SCRIPT_NAME
}
"
"
$DEPLOY_SCRIPT_SRC
"
chmod
+x
"./
${
DEPLOY_SCRIPT_NAME
}
"
echo
"ℹ︎ Running
$DEPLOY_SCRIPT_NAME
"
bash
"./
${
DEPLOY_SCRIPT_NAME
}
"
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