- noo: moved from nextcloud_client/website, deploys to noo.ayushya.dev - portfolio: moved root site into portfolio/, deploys to ayushya.dev - separate path-filtered Gitea workflows per worker
28 lines
756 B
YAML
28 lines
756 B
YAML
name: Deploy noo (noo.ayushya.dev)
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "noo/**"
|
|
- ".gitea/workflows/deploy-noo.yml"
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Absolute https:// URLs are used here (rather than the bare
|
|
# `actions/checkout@v4` shorthand) so this works regardless of how this
|
|
# Gitea instance has DEFAULT_ACTIONS_URL configured.
|
|
- name: Checkout
|
|
uses: https://github.com/actions/checkout@v4
|
|
|
|
- name: Deploy
|
|
uses: https://github.com/cloudflare/wrangler-action@v3
|
|
with:
|
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
|
wranglerVersion: "4"
|
|
workingDirectory: noo
|