diff --git a/.github/workflows/update-test-site.yml b/.github/workflows/update-test-site.yml new file mode 100644 index 0000000000..7b01017f16 --- /dev/null +++ b/.github/workflows/update-test-site.yml @@ -0,0 +1,58 @@ +name: Update test site +on: + pull_request: + branches: + - qa/** +jobs: + update-test-site: + runs-on: ubuntu-20.04 + if: ${{ startsWith(github.head_ref, 'dev-test/') }} + steps: + - name: Wait for other checks + uses: lewagon/wait-on-check-action@v0.2 + with: + ref: ${{ github.head_ref }} + wait-interval: 10 + running-workflow-name: update-test-site + - name: Configure SSH + run: | + mkdir -p ~/.ssh/ + echo "$KEY" > ~/.ssh/do.key + chmod 600 ~/.ssh/do.key + cat >>~/.ssh/config <