Skip to content

Commit

Permalink
ci: remove node installation step
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhin077 authored Jan 8, 2024
1 parent 722d65f commit 6c60882
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/devl-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 6c60882

Please sign in to comment.