summaryrefslogtreecommitdiff
path: root/.forgejo/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.forgejo/workflows')
-rw-r--r--.forgejo/workflows/deploy.yaml42
1 files changed, 0 insertions, 42 deletions
diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml
deleted file mode 100644
index a34ade0..0000000
--- a/.forgejo/workflows/deploy.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: Deploy Hugo to Codeberg Pages
-
-on:
- push:
- branches: [main]
- workflow_dispatch:
-
-jobs:
- deploy:
- runs-on: codeberg-tiny
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- with:
- submodules: recursive
- fetch-depth: 0
-
- - name: Setup Hugo
- uses: https://github.com/peaceiris/actions-hugo@v3
- with:
- hugo-version: "0.164.0"
- extended: true
-
- - name: Setup Dart Sass
- run: |
- curl -sL https://github.com/sass/dart-sass/releases/download/1.91.0/dart-sass-1.91.0-linux-x64.tar.gz -o /tmp/dart-sass.tar.gz
- tar -xzf /tmp/dart-sass.tar.gz -C /tmp
- mkdir -p $HOME/.local
- mv /tmp/dart-sass $HOME/.local/dart-sass
- echo "$HOME/.local/dart-sass" >> $GITHUB_PATH
- if [ -n "$FORGEJO_PATH" ]; then echo "$HOME/.local/dart-sass" >> $FORGEJO_PATH; fi
-
- - name: Build
- run: hugo --gc --minify --baseURL https://forever2k38.net/
-
- - name: Deploy to Codeberg Pages
- uses: https://codeberg.org/git-pages/action@v2
- with:
- site: https://forever2k38.net/
- server: codeberg.page
- token: ${{ forgejo.token }}
- source: public/