diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml new file mode 100644 index 0000000..74dfe5c --- /dev/null +++ b/.forgejo/workflows/deploy.yaml @@ -0,0 +1,30 @@ +on: [push] +jobs: + build: + runs-on: docker + steps: + - uses: actions/checkout@v2 + with: + ref: congo + + - name: Setup Hugo + uses: https://github.com/peaceiris/actions-hugo@v2 + with: + hugo-version: "0.90.1" + extended: true + + - name: Clone theme + run: git submodule update --init --recursive + + - name: Hugo build + run: hugo -v + + - name: Rsync Deployments Action + uses: https://github.com/Burnett01/rsync-deployments@5.2 + with: + switches: -avzr --delete + path: public/ + remote_path: ${{ secrets.remote_path }} + remote_host: ${{ secrets.remote_host }} + remote_user: ${{ secrets.remote_user }} + remote_key: ${{ secrets.remote_key }} diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml deleted file mode 100644 index 0be91b4..0000000 --- a/.woodpecker/.deploy.yml +++ /dev/null @@ -1,14 +0,0 @@ -branches: main - -labels: - hostname: "oscarblue" - -pipeline: - deploy: - image: alpine:3.16.0 - commands: - - apk add hugo rsync - - hugo - - rsync -rltvz --delete --omit-dir-times ./public/ /oscar.blue/ - volumes: - - /var/www/oscar.blue:/oscar.blue \ No newline at end of file diff --git a/assets/images/author.png b/assets/images/author.png index 994e926..db8353a 100644 Binary files a/assets/images/author.png and b/assets/images/author.png differ diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index 32966f6..2232af8 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -10,15 +10,15 @@ # overridden by providing a weight value. The menu will then be # ordered by weight from lowest to highest. -# [[main]] -# name = "Blog" -# pageRef = "posts" -# weight = 10 -# -# [[main]] -# name = "Tutorials" -# pageRef = "tutorials" -# weight = 20 +[[main]] + name = "Blog" + pageRef = "posts" + weight = 10 + +[[main]] + name = "Tutorials" + pageRef = "tutorials" + weight = 20 [[main]] name = "About"