update submoduiles. #71
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: ci | |
on: [push] | |
jobs: | |
build: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: [3.6] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
lfs: true | |
ref: ${{ github.head_ref }} | |
fetch-depth: 0 | |
- name: set up python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: install dependencies | |
run: | | |
sudo apt-get install libcurl4-openssl-dev libssl-dev socat default-jdk | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: get submodules | |
env: | |
DEPLOY_KEY: ${{ secrets.AEMDESIGN_SSH_PRIVATE_KEY }} | |
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no" | |
run: | | |
eval "$(ssh-agent -s)" | |
ssh-add - <<< "${DEPLOY_KEY}" | |
git submodule update --init --recursive | |
git submodule foreach "if [[ -f '.gitmodules' ]]; then git submodule foreach update --init --recursive; fi" | |
- name: run devops | |
run: | | |
./devops |