Attempt 1 on adding site generation to runner
Some checks failed
Deploy Blog to Folder / deploy (push) Failing after 2s
Some checks failed
Deploy Blog to Folder / deploy (push) Failing after 2s
This commit is contained in:
@ -13,10 +13,15 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build site
|
||||
run: |
|
||||
cd ./src
|
||||
npx @11ty/eleventy
|
||||
|
||||
- name: Deploy folder
|
||||
run: |
|
||||
echo "Cleaning old site files..."
|
||||
rm -rf /var/sites/cy.cyper.cc/www/html/*
|
||||
|
||||
echo "Deploying new site files from src/_site folder..."
|
||||
mv ./src/_site/* /var/sites/cy.cyper.cc/www/html
|
||||
mv ./_site/* /var/sites/cy.cyper.cc/www/html
|
||||
Reference in New Issue
Block a user