We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7076de3 commit b7bfb1dCopy full SHA for b7bfb1d
.github/workflows/lektor-build-deploy.yml
@@ -1,7 +1,7 @@
1
name: Build and Deploy CC Open Source
2
on: [push]
3
jobs:
4
- build-and-deploy:
+ build:
5
runs-on: ubuntu-latest
6
steps:
7
- uses: actions/checkout@v1
@@ -14,6 +14,10 @@ jobs:
14
pip install pipenv
15
pipenv install
16
pipenv run lektor build -f webpack
17
+ deploy:
18
+ runs-on: ubuntu-latest
19
+ needs: build
20
+ steps:
21
- name: Deploy to https://github.com/creativecommons/creativecommons.github.io
22
run: |
23
pipenv run lektor deploy ghpages --username ${{ secrets.LEKTOR_DEPLOY_USERNAME }} --password ${{ secrets.LEKTOR_DEPLOY_PASSWORD }}
0 commit comments