Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: some enhancement #10

Merged
merged 2 commits into from
Jan 10, 2025
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
18 changes: 9 additions & 9 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

- name: 🏗 Install cosign
if: ${{ github.event_name != 'pull_request' }}
uses: sigstore/cosign-installer@v3.0.5

- name: 🏗 Sign the published container image
if: ${{github.event_name != 'pull_request'}}
env:
COSIGN_EXPERIMENTAL: 'true'
run: echo "${{steps.meta.outputs.tags}}" | xargs -I {} cosign sign --yes {}@${{steps.build-and-push.outputs.digest}}
# - name: 🏗 Install cosign
# if: ${{ github.event_name != 'pull_request' }}
# uses: sigstore/cosign-installer@v3.0.5

# - name: 🏗 Sign the published container image
# if: ${{github.event_name != 'pull_request'}}
# env:
# COSIGN_EXPERIMENTAL: 'true'
# run: echo "${{steps.meta.outputs.tags}}" | xargs -I {} cosign sign --yes {}@${{steps.build-and-push.outputs.digest}}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@adrianub/cms",
"name": "decap-cms-github-backend",
"author": "Adrián UB",
"contributors": [
"S. Amir Mohammad Najafi <njfamirm@gamil.com> (njfamirm.ir"
"S. Amir Mohammad Najafi <njfamirm@gamil.com> (https://www.njfamirm.ir)"
],
"version": "1.1.0",
"license": "MIT",
Expand Down Expand Up @@ -39,5 +39,6 @@
"esbuild": "^0.18.11",
"npm-run-all": "^4.1.5",
"typescript": "^5.1.6"
}
},
"packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
}
4 changes: 2 additions & 2 deletions src/route/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {nanoServer} from '../lib/nano-server.js';
nanoServer.route('GET', '/', () => ({
ok: true,
data: {
app: '..:: Alwatr Decap CMS Backend Nanoservice ::..',
message: 'Hello ;)',
app: '..:: Decap CMS Backend Microservice ::..',
message: 'Hello',
},
}));
Loading