Skip to content

Commit 01125d1

Browse files
committed
move continuous deployement to github actions for CC opensource website
1 parent 28bece8 commit 01125d1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build and Deploy CC Open Source
2+
on: [push]
3+
jobs:
4+
build-and-deploy:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v1
8+
- name: setup python version
9+
uses: actions/setup-python@v1
10+
with:
11+
python-version: 3.7
12+
- name: Install dependencies
13+
run: |
14+
pip install pipenv
15+
pipenv install
16+
pipenv run lektor build -f webpack
17+
- name: Deploy to https://github.com/creativecommons/creativecommons.github.io
18+
run: |
19+
pipenv run lektor deploy ghpages

0 commit comments

Comments
 (0)