Update .yml files

This commit is contained in:
Keannu Christian Bernasol 2025-03-17 13:09:48 +08:00
parent 73efb60e47
commit ada7309184
3 changed files with 11 additions and 8 deletions

2
.gitignore vendored
View file

@ -30,3 +30,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.vscode

View file

@ -13,10 +13,12 @@ steps:
- docker push "$REGISTRY_IMAGE_TAG"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
secrets:
[
FORGEJO_REGISTRY_URL,
FORGEJO_REGISTRY_USERNAME,
FORGEJO_REGISTRY_PASSWORD,
REGISTRY_IMAGE_TAG,
]
environment:
FORGEJO_REGISTRY_URL:
from_secret: FORGEJO_REGISTRY_URL
FORGEJO_REGISTRY_USERNAME:
from_secret: FORGEJO_REGISTRY_USERNAME
FORGEJO_REGISTRY_PASSWORD:
from_secret: FORGEJO_REGISTRY_PASSWORD
REGISTRY_IMAGE_TAG:
from_secret: REGISTRY_IMAGE_TAG

View file

@ -13,4 +13,3 @@ steps:
- npm install --save-dev
- npm run build
- npx wrangler pages deploy "./build/" --project-name blog --branch master --commit-dirty
secrets: [CLOUDFLARE_ACCOUNT_ID, CLOUDFLARE_API_TOKEN]