Commit 7ec588491e
7ec588491ea485bfabfa9cdba17a50b6539110b3
parent: 85d8260e90
Unsigned
cmc <hello@cleberg.net> · 2024-06-24 01:30 UTC
swap back to sourcehut
Layout: unified · split
.github/workflows/azure-static-web-apps-polite-tree-0f2fa1d10.yml
deleted
−51
| @@ -1,51 +0,0 @@ |
| 1 | name: Azure Static Web Apps CI/CD |
| |
| 2 | |
| |
| 3 | on: |
| |
| 4 | push: |
| |
| 5 | branches: |
| |
| 6 | - main |
| |
| 7 | pull_request: |
| |
| 8 | types: [opened, synchronize, reopened, closed] |
| |
| 9 | branches: |
| |
| 10 | - main |
| |
| 11 | |
| |
| 12 | jobs: |
| |
| 13 | build_and_deploy_job: |
| |
| 14 | if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') |
| |
| 15 | runs-on: ubuntu-latest |
| |
| 16 | name: Build and Deploy Job |
| |
| 17 | steps: |
| |
| 18 | - uses: taiki-e/install-action@v2 |
| |
| 19 | with: |
| |
| 20 | tool: zola@0.19.0 |
| |
| 21 | - uses: actions/checkout@v4 |
| |
| 22 | with: |
| |
| 23 | submodules: true |
| |
| 24 | lfs: false |
| |
| 25 | - name: Build Zola Site |
| |
| 26 | run: zola build |
| |
| 27 | - name: Build And Deploy |
| |
| 28 | id: builddeploy |
| |
| 29 | uses: Azure/static-web-apps-deploy@v1 |
| |
| 30 | with: |
| |
| 31 | azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_POLITE_TREE_0F2FA1D10 }} |
| |
| 32 | repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) |
| |
| 33 | action: "upload" |
| |
| 34 | ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### |
| |
| 35 | # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig |
| |
| 36 | app_location: "/public" # App source code path |
| |
| 37 | api_location: "" # Api source code path - optional |
| |
| 38 | output_location: "" # Built app content directory - optional |
| |
| 39 | ###### End of Repository/Build Configurations ###### |
| |
| 40 | |
| |
| 41 | close_pull_request_job: |
| |
| 42 | if: github.event_name == 'pull_request' && github.event.action == 'closed' |
| |
| 43 | runs-on: ubuntu-latest |
| |
| 44 | name: Close Pull Request Job |
| |
| 45 | steps: |
| |
| 46 | - name: Close Pull Request |
| |
| 47 | id: closepullrequest |
| |
| 48 | uses: Azure/static-web-apps-deploy@v1 |
| |
| 49 | with: |
| |
| 50 | azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_POLITE_TREE_0F2FA1D10 }} |
| |
| 51 | action: "close" |
| |
README.md
+1 −1
| @@ -17,7 +17,7 @@ the Zola documentation for further configuration options. |
| 17 | To get running: |
17 | To get running: |
| 18 | |
18 | |
| 19 | ```sh |
19 | ```sh |
| 20 | git clone https://github.com/ccleberg/cleberg.net && \ |
20 | git clone https://git.sr.ht/~cyborg/cleberg.net && \ |
| 21 | cd cleberg.net && \ |
21 | cd cleberg.net && \ |
| 22 | zola build |
22 | zola build |
| 23 | ``` |
23 | ``` |
content/blog/2022-06-22-daily-poetry.md
+1 −1
| @@ -9,7 +9,7 @@ draft = false |
| 9 | |
9 | |
| 10 | I don't want to bury the lede here, so if you'd like to see the full source code |
10 | I don't want to bury the lede here, so if you'd like to see the full source code |
| 11 | I use to email myself plaintext poems daily, visit the repository: |
11 | I use to email myself plaintext poems daily, visit the repository: |
| 12 | [daily-poem.git](https://github.com/ccleberg/daily-poem). |
12 | [daily-poem.git](https://git.sr.ht/~cyborg/daily-poem). |
| 13 | |
13 | |
| 14 | # My Daily Dose of Poetry |
14 | # My Daily Dose of Poetry |
| 15 | |
15 | |
content/blog/2022-12-23-alpine-desktop.md
+1 −1
| @@ -169,7 +169,7 @@ doas apk add brightnessctl \ # Brightness controller |
| 169 | |
169 | |
| 170 | From here, I use my Syncthing storage to pull all the configuration files I |
170 | From here, I use my Syncthing storage to pull all the configuration files I |
| 171 | stored from prior desktops, such as [my |
171 | stored from prior desktops, such as [my |
| 172 | dotfiles](https://github.com/ccleberg/dotfiles). |
172 | dotfiles](https://git.sr.ht/~cyborg/dotfiles). |
| 173 | |
173 | |
| 174 | # Resolving Issues |
174 | # Resolving Issues |
| 175 | |
175 | |
content/blog/2023-02-02-exploring-hare.md
+2 −2
| @@ -48,12 +48,12 @@ Installation](https://harelang.org/installation/) page. |
| 48 | ## Creating a Test Project |
48 | ## Creating a Test Project |
| 49 | |
49 | |
| 50 | In order to play with the language, I created |
50 | In order to play with the language, I created |
| 51 | [hare-test](https://github.com/ccleberg/daily-poem/learning-hare) and will be putting any of my |
51 | [hare-test](https://git.sr.ht/~cyborg/learning-hare) and will be putting any of my |
| 52 | Hare-related adventures in here. |
52 | Hare-related adventures in here. |
| 53 | |
53 | |
| 54 | > **Update:** I also created a simple Hare program for creating a file from user |
54 | > **Update:** I also created a simple Hare program for creating a file from user |
| 55 | > input: |
55 | > input: |
| 56 | > [files.ha](hhttps://github.com/ccleberg/learning-hare/blob/main/files/files.ha) |
56 | > [files.ha](hhttps://git.sr.ht/~cyborg/learning-hare/blob/main/files/files.ha) |
| 57 | |
57 | |
| 58 | Luckily, Hare doesn't require any complex set-up tools or build environment. |
58 | Luckily, Hare doesn't require any complex set-up tools or build environment. |
| 59 | Once you have Hare installed, you simply need to create a file ending with `.ha` |
59 | Once you have Hare installed, you simply need to create a file ending with `.ha` |
content/services.md
+1 −1
| @@ -18,5 +18,5 @@ draft = false |
| 18 | metasearch engine |
18 | metasearch engine |
| 19 | |
19 | |
| 20 | See the [git |
20 | See the [git |
| 21 | log](https://github.com/ccleberg/cleberg.net/commits/main/content/services.md) if |
21 | log](https://git.sr.ht/~cyborg/cleberg.net/log/main/item/content/services.md) if |
| 22 | you want to see changes that have been made. |
22 | you want to see changes that have been made. |
templates/base.html
+1 −1
| @@ -43,7 +43,7 @@ |
| 43 | <footer> |
43 | <footer> |
| 44 | <p>Last build: <{{ now() | date(format='%Y-%m-%d %a %H:%M:%S') }}></p> |
44 | <p>Last build: <{{ now() | date(format='%Y-%m-%d %a %H:%M:%S') }}></p> |
| 45 | <p> |
45 | <p> |
| 46 | <a href="https://github.com/ccleberg/cleberg.net" |
46 | <a href="https://git.sr.ht/~cyborg/cleberg.net" |
| 47 | target="_blank" rel="noopener">Source Code</a> |
47 | target="_blank" rel="noopener">Source Code</a> |
| 48 | · |
48 | · |
| 49 | <a href="/atom.xml">Atom RSS Feed</a> |
49 | <a href="/atom.xml">Atom RSS Feed</a> |
templates/index.html
+1 −1
| @@ -48,7 +48,7 @@ uid [ultimate] Christian Cleberg <hello@cleberg.net></pre> |
| 48 | > |
48 | > |
| 49 | </li> |
49 | </li> |
| 50 | <li> |
50 | <li> |
| 51 | <a href="https://github.com/ccleberg/" target="_blank" rel="noopener" |
51 | <a href="https://git.sr.ht/~cyborg/" target="_blank" rel="noopener" |
| 52 | >Sourcehut</a |
52 | >Sourcehut</a |
| 53 | > |
53 | > |
| 54 | </li> |
54 | </li> |