Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build-and-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Deploy blog

permissions:
contents: write # to upload release assets
packages: write # to publish packages

on:
push:
branches:
Expand Down Expand Up @@ -59,7 +63,7 @@ jobs:
space_region: 'nyc3'
source: ${{ env.PACKAGE_NAME }}
out_dir: 'html/'
overwrite: true
# overwrite: true

check-digitalocean-secrets:
name: Check if Digitalocean registry information was set on secrets
Expand Down Expand Up @@ -122,7 +126,7 @@ jobs:
password: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

- name: Build and push Nginx image
uses: docker/build-push-action@6
uses: docker/build-push-action@v6
with:
context: .
push: true
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Deploy blog

permissions:
contents: write # to upload release assets
packages: write # to publish packages

on:
push:
branches:
- main
- experimental
- main # only `main` / `master` branch
# - experimental

jobs:
deploy-gh-pages:
Expand Down