Skip to content

Commit

Permalink
Replace .github/publish with 'push_artifacts'
Browse files Browse the repository at this point in the history
  • Loading branch information
generalmimon committed Nov 7, 2020
1 parent af27539 commit f4439b9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 94 deletions.
93 changes: 0 additions & 93 deletions .github/publish

This file was deleted.

1 change: 1 addition & 0 deletions .github/push_artifacts
Submodule push_artifacts added at 72a436
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -63,7 +63,14 @@ jobs:
working-directory: _build
run: ./build-html .. target html
- name: Deploy
run: .github/publish
env:
BOT_SSH_KEY: ${{secrets.BOT_SSH_KEY}}
run: |
.github/push_artifacts/git_config_kaitai_bot
.github/push_artifacts/publish \
-o kaitai-io \
-r formats-kaitai-io.github.io \
-m "Build results of $GITHUB_REF $GITHUB_REPOSITORY@$GITHUB_SHA" \
-- --exclude=.git --exclude=.travis.yml --exclude=CNAME _build/html/
# NB: trailing slash in '_build/html/' is *very* important for rsync!
if: github.ref == 'refs/heads/master'
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule ".github/push_artifacts"]
path = .github/push_artifacts
url = https://github.com/kaitai-io/push_artifacts.git

0 comments on commit f4439b9

Please sign in to comment.