deploy script + favicon update
@ -1,20 +1,14 @@
|
|||||||
name: Gitea Actions Demo
|
name: blog.neet.works deployment
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
on:
|
||||||
on: [push]
|
push:
|
||||||
|
paths:
|
||||||
|
- 'public/**' # Trigger the workflow when files in the 'public' folder are updated
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy_mamizou:
|
deploy_mamizou:
|
||||||
runs-on: mamizou_neet_works_static_deploy
|
runs-on: mamizou_neet_works_static_deploy
|
||||||
|
run-name: Deploy blog.neet.works on Mamizou
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- run: cd /srv/http/blog.neet.works/
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
- run: git pull
|
||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
- run: git checkout
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 334 KiB After Width: | Height: | Size: 316 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 932 B After Width: | Height: | Size: 1005 B |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |