We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7bfb1d commit a3b933eCopy full SHA for a3b933e
.github/workflows/lektor-build-deploy.yml
@@ -14,10 +14,7 @@ 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
+ - name: Deploy to production
+ if: ${{ github.ref == "master" }}
22
run: |
23
pipenv run lektor deploy ghpages --username ${{ secrets.LEKTOR_DEPLOY_USERNAME }} --password ${{ secrets.LEKTOR_DEPLOY_PASSWORD }}
0 commit comments