From da707481b963ec9b9cbd76a079fe9f8d95d03121 Mon Sep 17 00:00:00 2001 From: L3D Date: Sat, 26 Dec 2020 01:26:42 +0100 Subject: [PATCH] broke deployment --- .github/workflows/lektor-deploy.yml | 54 ----------------------------- 1 file changed, 54 deletions(-) delete mode 100644 .github/workflows/lektor-deploy.yml diff --git a/.github/workflows/lektor-deploy.yml b/.github/workflows/lektor-deploy.yml deleted file mode 100644 index 5c5331e..0000000 --- a/.github/workflows/lektor-deploy.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Build and Deploy c3woc website - -on: - schedule: - # * is a special character in YAML so you have to quote this string - - cron: '42 0 * * 0' - push: - branches: - - master - -# Environment variables available to all jobs and steps in this workflow -env: - LEKTOR_DEPLOY_KEY: ${{ secrets.LEKTOR_DEPLOY_KEY }} - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.8] - - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - - name: Cache lfs data - uses: actions/cache@v1 - with: - path: .git - key: .git/lfs - - name: install git-lfs && lektor - run: | - sudo apt-get install git-lfs - make install - - name: Cache lektor .cache - uses: actions/cache@v1 - with: - path: ~/.cache/lektor - key: lektorcache - - name: pull lfs data - run: git lfs pull - - name: build with lektor - run: | - make build - - name: deploy new site - run: | - echo 'c3woc.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC5NslYj+wtriBuKIxJfDRm9E2hnlstWR8durQ6pKvVvP7wjcoXIyAxe41GvJ9SoEhSjF7oVlzlw+zAkzl5WOZ4=' | sudo tee /etc/ssh/ssh_known_hosts - lektor deploy --key $LEKTOR_DEPLOY_KEY c3woc