You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/03/02 19:09:54 UTC
[camel-website] branch master updated: fix: corrected GitHub
repository path
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new 555e480 fix: corrected GitHub repository path
555e480 is described below
commit 555e480d29bbecc0913f470049c7b52d0eb2c3a7
Author: Zoran Regvart <zr...@gmail.com>
AuthorDate: Sat Mar 2 20:09:48 2019 +0100
fix: corrected GitHub repository path
Fixed GitHub repository path and Dockerfile `ADD` syntax issue.
---
.github/action-website/Dockerfile | 2 +-
.github/action-website/publish | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/action-website/Dockerfile b/.github/action-website/Dockerfile
index 1512bd7..9a2bc88 100644
--- a/.github/action-website/Dockerfile
+++ b/.github/action-website/Dockerfile
@@ -21,5 +21,5 @@ RUN set -ex \
libxtst6 \
&& rm -rf /var/lib/apt/lists/*
-ADD publish
+ADD publish /usr/local/bin
diff --git a/.github/action-website/publish b/.github/action-website/publish
index 9b3d05b..e015e13 100755
--- a/.github/action-website/publish
+++ b/.github/action-website/publish
@@ -1,9 +1,11 @@
-#!/bin/sh
+#!/bin/bash
+
+set -euxo pipefail
mkdir -p deploy/staging
cd deploy/staging
-git clone -b asf-site https://github.com/repos/asf/camel-website.git .
+git clone -b asf-site https://github.com/apache/camel-website.git .
git rm -r *
cp -R $GITHUB_WORKSPACE/public/* .
git add .