Skip to content

Commit

Permalink
Temp to test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Sep 25, 2020
1 parent 165e074 commit 56b5355
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
--env "HTML_OUTPUT=/whatwg/output" \
whatwg/html-build
- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
env:
SERVER: ${{ secrets.MARQUEE_SERVER }}
SERVER_PUBLIC_KEY: ${{ secrets.MARQUEE_PUBLIC_KEY }}
Expand All @@ -37,12 +37,12 @@ jobs:
# Sync, including deletes, but ignoring the stuff we'll deploy below, so that we don't delete them.
echo "Deploying build output..."
# --chmod=D755,F644 means read-write for user, read-only for others.
rsync --archive --chmod=D755,F644 --compress --verbose \
rsync --archive --chmod=D755,F644 --compress --verbose --dry-run \
--delete --exclude="commit-snapshots" --exclude="review-drafts" \
"$GITHUB_WORKSPACE/output/" "deploy@$SERVER:/var/www/html.spec.whatwg.org"
# Now sync a commit snapshot and a review draft, if any
echo ""
echo "Deploying Commit Snapshot and Review Drafts, if any..."
rsync --archive --chmod=D755,F644 --compress --verbose \
rsync --archive --chmod=D755,F644 --compress --verbose --dry-run \
"$GITHUB_WORKSPACE/output/commit-snapshots" "$GITHUB_WORKSPACE/output/review-drafts" "deploy@$SERVER:/var/www/html.spec.whatwg.org"

0 comments on commit 56b5355

Please sign in to comment.