diff --git a/.github/workflows/devl-pipeline.yml b/.github/workflows/devl-pipeline.yml index 6832d90..0bcaa72 100644 --- a/.github/workflows/devl-pipeline.yml +++ b/.github/workflows/devl-pipeline.yml @@ -14,27 +14,7 @@ jobs: uses: actions/checkout@v2 with: ref: next - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: '10' - - - name: Install SSH Client and Hugo - run: | - sudo apt update - sudo apt install openssh-client -y - wget https://github.com/gohugoio/hugo/releases/download/v0.58.3/hugo_0.58.3_Linux-64bit.tar.gz - tar -zxvf hugo_0.58.3_Linux-64bit.tar.gz - sudo mv hugo /usr/local/bin/ - - - name: Set up SSH agent - run: | - eval $(ssh-agent -s) - mkdir -p ~/.ssh - chmod 700 ~/.ssh - echo -e "${{ secrets.DEVELOPMENT_SSH_PRIVATE_KEY }}" >> ~/.ssh/id_rsa - chmod 400 ~/.ssh/id_rsa + - name: Node and Hugo versions run: | node --version @@ -43,7 +23,7 @@ jobs: - name: Install dependencies and build run: | npm install - node create_md_files/createMdFile.js && hugo + node create_md_files/createMdFile.js && hugo --cacheDir /tmp/hugo_cache_ubh - name: Archive build artifacts run: |