You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2022/08/01 17:03:33 UTC
[royale-website] branch master updated: Github Actions: commit to asf-site instead of asf-staging
This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-website.git
The following commit(s) were added to refs/heads/master by this push:
new 747719cf Github Actions: commit to asf-site instead of asf-staging
747719cf is described below
commit 747719cf33915e80bccf1496e0768ee625923ad9
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Mon Aug 1 10:03:19 2022 -0700
Github Actions: commit to asf-site instead of asf-staging
---
.github/workflows/build.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f80ebbb9..1eb0058b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,14 +17,14 @@ jobs:
run: npm ci
- name: Build website
run: npm run build
- - name: Deploy to asf-staging
+ - name: Deploy to asf-site
if: ${{ github.repository_owner == 'apache' && github.event_name != 'pull_request' && github.ref_name == 'master' }}
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'dev@royale.apache.org'
git fetch
- git checkout asf-staging
+ git checkout asf-site
cp -a _site/. .
git add -A
git diff-index --quiet HEAD || git commit -m "Deploy site"
- git push origin asf-staging
+ git push origin asf-site