aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-08-10 18:53:52 +0200
committerYann Herklotz <git@yannherklotz.com>2020-08-10 18:53:52 +0200
commitc9f61e391cd597844af93dd2014d9668798e712e (patch)
treec321cab892a5142adc6d49677560234d89a02e3f /.github
parent377533ec91e516f43078cfe49623a34f5a402442 (diff)
downloadvericert-c9f61e391cd597844af93dd2014d9668798e712e.tar.gz
vericert-c9f61e391cd597844af93dd2014d9668798e712e.zip
Add gh-pages
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/gh-pages.yml (renamed from .github/workflows/admitted.yml)9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/admitted.yml b/.github/workflows/gh-pages.yml
index 20f2df8..52a9b32 100644
--- a/.github/workflows/admitted.yml
+++ b/.github/workflows/gh-pages.yml
@@ -24,8 +24,11 @@ jobs:
# Runs a single command using the runners shell
- name: Generate Admitted icon
- run: python3 scripts/statistics.py src
+ run: python3 scripts/statistics.py src && mkdir -p docs/assets && mv admitted.svg docs/assets/.
- - uses: actions/upload-artifact@v2
+ - name: Deploy gh-pages
+ uses: peaceiris/actions-gh-pages@v3
with:
- path: admitted.svg
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./docs
+ enable_jekyll: true