Compare commits
10 Commits
4fafe1254a
...
7473910598
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7473910598 | ||
|
|
26a727fdc0 | ||
|
|
d2a2034318 | ||
|
|
628474510a | ||
|
|
451ccaa5cf | ||
|
|
37d3f74cbd | ||
|
|
ecd9198953 | ||
|
|
e00b158d97 | ||
|
|
e04f8d6d1f | ||
|
|
604468a2ff |
19
.gitea/workflows/build.yaml
Normal file
19
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Gitea Actions Demo
|
||||||
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Explore-Gitea-Actions:
|
||||||
|
runs-on: arch-test
|
||||||
|
steps:
|
||||||
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
|
- 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 }}."
|
||||||
@@ -54,7 +54,7 @@ This is a personal blog built with Go, using the go-org library to parse Org-mod
|
|||||||
- [ ] footer
|
- [ ] footer
|
||||||
- [ ] resume page
|
- [ ] resume page
|
||||||
- [ ] contact page
|
- [ ] contact page
|
||||||
- [ ] responsive
|
- [X] responsive
|
||||||
- [ ] RSS
|
- [ ] RSS
|
||||||
- [ ] favicon
|
- [ ] favicon
|
||||||
- [ ] search
|
- [ ] search
|
||||||
|
|||||||
@@ -48,13 +48,13 @@ func compileSCSS() (string, error) {
|
|||||||
|
|
||||||
transpiler, err := godartsass.Start(godartsass.Options{})
|
transpiler, err := godartsass.Start(godartsass.Options{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal("cannot start transpiler: ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
css, err := transpiler.Execute(args)
|
css, err := transpiler.Execute(args)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal("cannot compile SCSS: ", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println("CSS compiled")
|
log.Println("CSS compiled")
|
||||||
|
|||||||
Reference in New Issue
Block a user