diff options
| author | Egor Tensin <egor@tensin.name> | 2026-04-12 20:47:14 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-04-12 20:47:18 +0200 |
| commit | 38b339c2f6e2a5be02915a044265fff4601ba95e (patch) | |
| tree | 9e58542db55a518ed413c78b63a81a445f01ef8a | |
| parent | workflows/infra: check ports separately (diff) | |
| download | maintenance-38b339c2f6e2a5be02915a044265fff4601ba95e.tar.gz maintenance-38b339c2f6e2a5be02915a044265fff4601ba95e.zip | |
workflows: move Jekyll workflows out
Beginning of the end for this repo (again). They belong to their
individual repos.
| -rw-r--r-- | .github/workflows/jekyll.yml | 66 | ||||
| -rw-r--r-- | .github/workflows/main.yml | 4 |
2 files changed, 0 insertions, 70 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml deleted file mode 100644 index db55a84..0000000 --- a/.github/workflows/jekyll.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: Jekyll - -on: - workflow_call: - workflow_dispatch: - -jobs: - maintenance: - strategy: - fail-fast: false - matrix: - project: - - repo: blog - branch: gh-pages - - repo: egor-tensin.github.io - branch: master - - repo: fucktipp.ing - branch: master - - repo: jekyll-theme - branch: master - - repo: sorting-algorithms - branch: gh-pages - - repo: wireguard-config - branch: master - runs-on: ubuntu-latest - name: '${{ matrix.project.repo }}' - env: - GH_TOKEN: '${{ github.token }}' - steps: - - name: Configure SSH - run: | - mkdir -p ~/.ssh - cat > ~/.ssh/config <<'EOF' - StrictHostKeyChecking no - EOF - - name: Set up ssh-agent - uses: webfactory/ssh-agent@v0.10.0 - with: - ssh-private-key: '${{ secrets.SSH_KEY }}' - - name: Checkout - run: | - git clone -q --single-branch --branch '${{ matrix.project.branch }}' \ - 'ssh://git@github.com/egor-tensin/${{ matrix.project.repo }}.git' - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - bundler-cache: true - working-directory: '${{ matrix.project.repo }}' - - name: Configure git - run: | - git config --global user.name 'Egor Tensin' - git config --global user.email 'egor@tensin.name' - - name: Run maintenance - id: maintenance - run: | - cd -- '${{ matrix.project.repo }}' - make maintenance - commit="$( git rev-parse HEAD )" - echo "commit=$commit" >> "$GITHUB_OUTPUT" - - name: Wait until the run is finished - run: | - sleep 10 - cd -- '${{ matrix.project.repo }}' - commit='${{ steps.maintenance.outputs.commit }}' - run_id="$( gh run list --commit "$commit" --json databaseId --jq '.[0].databaseId' )" - gh run watch --compact --exit-status "$run_id" diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35be4e4..2ea026b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,10 +13,6 @@ jobs: secrets: inherit uses: ./.github/workflows/infra.yml - jekyll: - secrets: inherit - uses: ./.github/workflows/jekyll.yml - yandex-cloud-cli-bin: secrets: inherit uses: ./.github/workflows/yandex-cloud-cli-bin.yml |
