Removed test workflow steps, and the test post
Some checks failed
Build & Deploy / build-or-sth (push) Failing after 31s
Some checks failed
Build & Deploy / build-or-sth (push) Failing after 31s
This commit is contained in:
parent
189dbaed71
commit
65b649e635
@ -9,20 +9,17 @@ jobs:
|
||||
build-or-sth:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "hi!"
|
||||
- name: Clone repo
|
||||
run: git clone --recurse-submodules https://git.emin.software/haxala1r/blog.git --depth=1 .
|
||||
- name: Get hugo
|
||||
run: wget https://github.com/gohugoio/hugo/releases/download/v0.131.0/hugo_extended_0.131.0_linux-amd64.tar.gz -O hugo.tar.gz
|
||||
- run: tar xzvf hugo.tar.gz
|
||||
- run: id
|
||||
- run: ls -la ~/
|
||||
- name: build
|
||||
run: ./hugo
|
||||
- name: deploy
|
||||
run: |
|
||||
echo "${{ secrets.SSH_KEY }}" > /tmp/id
|
||||
wget https://github.com/gohugoio/hugo/releases/download/v0.131.0/hugo_extended_0.131.0_linux-amd64.tar.gz -O hugo.tar.gz
|
||||
tar xzvf hugo.tar.gz
|
||||
- name: Build
|
||||
run: ./hugo
|
||||
- name: Deploy
|
||||
run: |
|
||||
echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id
|
||||
chmod 600 /tmp/id
|
||||
mkdir -p ~/.ssh/
|
||||
ssh-keyscan emin.software > ~/.ssh/known_hosts
|
||||
scp -oUser=${{secrets.SSH_USER}} -i /tmp/id -r public/* emin.software:/home/${{ secrets.SSH_USER }}/web/web/
|
||||
ssh-keyscan emin.software > ~/.ssh/known_hosts
|
||||
scp -oUser=${{secrets.SSH_USER}} -i ~/.ssh/id -r public/* emin.software:${{secrets.WEB_PATH}}
|
||||
|
@ -1,7 +0,0 @@
|
||||
+++
|
||||
title = 'Itworks'
|
||||
date = 2024-11-16T15:54:33+03:00
|
||||
draft = false
|
||||
+++
|
||||
|
||||
HAHA THE CI WORKFLOW WORKS!!!!
|
Loading…
Reference in New Issue
Block a user