Skip to content

Commit aebd182

Browse files
authored
Merge pull request creativecommons#204 from creativecommons/fix_git_workflow
Fixes for GitHub Action to build and deploy the site.
2 parents 416a90a + a748af6 commit aebd182

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/lektor-build-deploy.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
pip install pipenv
1515
pipenv install
1616
pipenv run lektor build -f webpack
17-
- name: Deploy to https://github.com/creativecommons/creativecommons.github.io
17+
- name: Deploy to production
18+
if: github.ref == 'master'
1819
run: |
19-
pipenv run lektor deploy ghpages
20+
pipenv run lektor deploy ghpages --username ${{ secrets.LEKTOR_DEPLOY_USERNAME }} --password ${{ secrets.LEKTOR_DEPLOY_PASSWORD }}

0 commit comments

Comments
 (0)