Merge branch 'nuclia_widget' of https://github.com/plone/training int… #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nuclia Sync | |
on: [push] | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install requirements | |
run: | | |
pip install -q -r requirements.txt | |
- name: Run Nuclia Sync | |
env: | |
DEPLOY_NUCLIA_URL: ${{secrets.DEPLOY_NUCLIA_URL}} | |
DEPLOY_NUCLIA_TOKEN: ${{secrets.DEPLOY_NUCLIA_TOKEN}} | |
run: | | |
python3 upload.py | |
- name: Commit changes | |
run: | | |
git config --global user.name github-actions | |
git config --global user.email [email protected] | |
git add . | |
git commit -m "Nuclia Sync: Updated docs" | |
git push | |