Update hugo.yml

This commit is contained in:
Руслан 2023-10-14 23:52:33 +06:00 committed by GitHub
parent 343657e0d0
commit fe8efa486a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,8 @@ jobs:
run: | run: |
hugo \ hugo \
--baseURL "${{ steps.pages.outputs.base_url }}/" --baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Change color
run: sed -i 's/peachpuff/rebeccapurple/g' public/css/main.*.css
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v2
with: with:
@ -91,6 +93,8 @@ jobs:
run: find public -type f -exec sed -i 's/\/\/fruworg.github.io/\/\/fruworg.neocities.org/g' {} + run: find public -type f -exec sed -i 's/\/\/fruworg.github.io/\/\/fruworg.neocities.org/g' {} +
- name: Rename 404 page - name: Rename 404 page
run: mv public/404.html public/not_found.html run: mv public/404.html public/not_found.html
- name: Change color
run: sed -i 's/rebeccapurple/mediumseagreen/g' public/css/main.*.css
- name: Deploy to Neocities - name: Deploy to Neocities
uses: bcomnes/deploy-to-neocities@v1 uses: bcomnes/deploy-to-neocities@v1
with: with: