This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-stormcrawler-site.git
commit 758766494ebb54946778e09d5402f0a7ca1dbbde Author: Richard Zowalla <[email protected]> AuthorDate: Thu Apr 25 10:02:08 2024 +0200 Add an action to publish to asf-staging manually (via Actions tab) --- .../workflows/{publish.yml => publish-staging.yml} | 19 ++++++------------- .github/workflows/publish.yml | 3 --- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish-staging.yml similarity index 84% copy from .github/workflows/publish.yml copy to .github/workflows/publish-staging.yml index 06527ba..498d4d3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish-staging.yml @@ -14,16 +14,9 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. - -# This action will build and publish branch to -# https://shiro.apache.org/ -name: Publish website +name: Publish staging website on: - # Runs on pushes targeting the default branch - push: - branches: [ "main" ] - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -45,20 +38,20 @@ jobs: run: bundle exec jekyll build env: JEKYLL_ENV: production - - name: 'Checkout asf-site' + - name: 'Checkout asf-staging' uses: actions/checkout@v4 with: repository: 'apache/incubator-stormcrawler-site' - ref: 'asf-site' - path: 'asf-site' + ref: 'asf-staging' + path: 'asf-staging' - name: 'Copy build to site repo' run: | - rsync -avP --delete --exclude .git --exclude docker-compose.yml --exclude README.md _site/. ./asf-site + rsync -avP --delete --exclude .git --exclude docker-compose.yml --exclude README.md _site/. ./asf-staging shell: bash - name: 'commit site' - working-directory: ./asf-site + working-directory: ./asf-staging run: | git config user.name "GitHub Actions Bot" git config user.email "<>" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 06527ba..486d43d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,9 +14,6 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. - -# This action will build and publish branch to -# https://shiro.apache.org/ name: Publish website on:
